Skip to content

Jackson2: Support BeanPropertyWriter's metadata for optional properties #174

@Yona-Appletree

Description

@Yona-Appletree

Currently, the Jackson2Parser only looks for optionalAnnoations when determining if a property should be optional. It seems like it should default to ! beanPropertyWriter.getMetadata().isRequired() so as to support custom optional-detection by jackson modules.

In my case, I want it so that the Kotlin module can determine nullability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions