FasterXML / FasterXML/jackson-module-kotlin
Take into account Java Optional when calculating the property's required marker
Open
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 187
- Avg merge
- 9h 48m
- Merged PRs (30d)
- 16
Description
`class Data(val id: String, val email: Optional)`
`email` field is marked as required, but if we not pass data to it, it works correctly, it is initialized with `Optional.empty`.
Please mark `Optional` as non required.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.