-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Improve JavaDoc and add tests for DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS
#3880
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
Improve JavaDoc and add tests for DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS
#3880
Conversation
DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDSDeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS
| .readValue(a2q("{'node':123}")); | ||
| assertNotNull(w2); | ||
| assertNull(w2.node); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this test result the same , like below test testUnresolvableConfigureFeatureSymmetry()? 🤔
Hopefully, I am mistaken and there is no bug.
You can also refer to another already-existing test in the same class.
| private final ObjectMapper DEFAULT_MAPPER = newJsonMapper(); | ||
|
|
||
| private final ObjectMapper DISABLED_MAPPER = newJsonMapper() | ||
| .configure(DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going forward let's try to use JsonMapper.builder() so code will merge and work with 3.0. I will change this after merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🙏🏼🙏🏼
Description
DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS