Skip to content

Interfering Jackson annotations #512

Closed
@nishisan

Description

@nishisan

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