Skip to content

AnnotationsUtils should not rely on ObjectMapper #5154

@lorenzbaier

Description

@lorenzbaier

schema = Json31.mapper().readValue(Json31.pretty(schema), Schema.class);

It seems kind of weird to me that an ObjectMapper is used to clone the Model here because this can lead to issues if the ObjectMapper is configured differently (e.g. using Mixins) and might break expected behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions