-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
Hi,
I'm creating a follow-up of #250. The current possibilities still feel very limiting to me.
Current pain points
- Currently a primitive property is not considered as non-optional when using
useLibraryDefinition
- It is not possible to use
useLibraryDefinition
anduseSpecifiedAnnotations
at the same time
How it should work
- primitives such as
int getNumber()
should not be optional - all other objects eg
String getText()
should default to library - annotations specified (
NonNull
/Nullable
) could overrule this
Suggestions
Jackson2Parser
line 229 should be rather!beanPropertyWriter.isRequired() && !beanPropertyWriter.getType().isPrimitive()
- It would be nice if there is a
OptionalProperties.useLibraryAndAnnotations
Metadata
Metadata
Assignees
Labels
No labels