Change the hasRequiredMarker
implementation to the 3.x specification
#941
Labels
3.x
Issue affecting/planned for Jackson 3.x
The
hasRequiredMarker
is currently implemented in theKotlinAnnotationIntrospector
so that the oldrequired
flag does not override thekotlin-module
process.On the other hand, this will override processing by other
AnnotationIntrospector
s, and therefore will also override the user's own specifications.In
3.x
, the oldrequired
flag will be ignored if it isfalse
, so that thekotlin-module
process is not overridden.Therefore,
hasRequiredMarker
will be moved toKotlinNamesAnnotationIntrospector
to avoid overriding user specifications as much as possible.During this, considerations for
JsonProperty
annotations in the current implementation will also be removed as they are no longer needed.The text was updated successfully, but these errors were encountered: