Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interfering Jackson annotations #512

Closed
Assignees
Labels
@nishisan

Description

Hello, we recently upgraded the drivers from version 6 to version 7. After the upgrade, the replacements for @DocumentField(DocumentField.Type.KEY) and @DocumentField(DocumentField.Type.ID) introduced new annotations: @InternalKey and @InternalId.

The problem we encountered is that these new annotations come with a @JsonProperty, which replaces the original property name of the class, thereby breaking existing integrations prior to version 7. The workaround we found was to add an extra @JsonProperty annotation to the property fields in each class.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /