Skip to content

ignore unknown json properties in dtos#4

Merged
gdorsi44 merged 1 commit into
gdorsi44:mainfrom
cernobilao:feature/ignore-unknown-json-properties-in-dtos
Jul 27, 2024
Merged

ignore unknown json properties in dtos#4
gdorsi44 merged 1 commit into
gdorsi44:mainfrom
cernobilao:feature/ignore-unknown-json-properties-in-dtos

Conversation

@cernobilao
Copy link
Copy Markdown

@cernobilao cernobilao commented Jul 25, 2024

The DTOs are quickly becoming outdated because the API is changing. I suggest adding the annotation @JsonIgnoreProperties(ignoreUnknown = true) so that the client continues to function even when new attributes are added to the API.

@gdorsi44
Copy link
Copy Markdown
Owner

Thank you for suggestion!

@gdorsi44 gdorsi44 merged commit 9b002f3 into gdorsi44:main Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants