Skip to content
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

Upgrade handling an unknown value in FuzzyEnumModule #2266

Merged
merged 1 commit into from
Feb 9, 2018

Conversation

arteam
Copy link
Member

@arteam arteam commented Feb 9, 2018

Problem:

Since Jackson 2.9, the mappingException method has been deprecated in favour of more specific methods

Solution:

Use the weirdStringException method for our case when we can't map a string value to a an enum value.

Result:

No compilation warnings and easier migration to newer Jackson versions.

Since Jackson 2.9, the `mappingException` method has been deprecated
in favour of more specific methods. Therefore, we should use
`weirdStringException` for our case when we can't map a string value
to a an enum value.
@jplock jplock added this to the 1.3.0 milestone Feb 9, 2018
@jplock jplock added the bug label Feb 9, 2018
@jplock jplock merged commit 3a099b3 into master Feb 9, 2018
@jplock jplock deleted the upgrade-fuzzy-module branch February 9, 2018 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants