Closed
Description
Search before asking
- I searched in the issues and found nothing similar.
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
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