Search before asking
Describe the bug
This is offshoot from #4607, DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS does not work when Polymorphic type handling takes place.
Version Information
2.16 and later.
Reproduction
#4611
Expected behavior
Should fail when...
- object id is not provided
- class is annotated with
@JsonIdentityInfo
- enabled
DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS
... and should pass when disabled DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS
Additional context
No response
Search before asking
Describe the bug
This is offshoot from #4607,
DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDSdoes not work when Polymorphic type handling takes place.Version Information
2.16 and later.
Reproduction
#4611
Expected behavior
Should fail when...
@JsonIdentityInfoDeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDS... and should pass when disabled
DeserializationFeature.FAIL_ON_UNRESOLVED_OBJECT_IDSAdditional context
No response