Skip to content

Add @RosettaIgnore #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Add @RosettaIgnore #72

merged 1 commit into from
Oct 8, 2021

Conversation

stevie400
Copy link
Contributor

Under Jackson 2.12 (though I'd guess this change came in 2.10), duplicate field names in a bean will cause serialization to fail. I believe that it would previously simply overwrite duplicates as it encountered them, meaning that the property sources appearing later in a file would win out. Because we have code in which normal properties are redefined with @RosettaProperty, we need to add @RosettaIgnore in order to hide certain getters / setters from the rosetta mapper.

@jhaber @kmclarnon @Xcelled @snommit-mit

@jhaber
Copy link
Member

jhaber commented Oct 8, 2021

👍 lgtm

@stevie400 stevie400 merged commit 53e3645 into master Oct 8, 2021
@stevie400 stevie400 deleted the add-RosettaIgnore branch October 18, 2021 13:07
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