spring-data-commons icon indicating copy to clipboard operation
spring-data-commons copied to clipboard

Expose nullability requirements for PersistentProperty and PreferredConstructor arguments [DATACMNS-1513]

Open spring-projects-issues opened this issue 6 years ago • 0 comments

Mark Paluch opened DATACMNS-1513 and commented

PersistentProperty and PreferredConstructor should indicate property/parameter nullability derived from JSR305 (@Nullable, @Nonnull) and Kotlin definitions.

We already provide NullableUtils to determine null/non-null defaults on type level. We should consider nullability indicators and type indicators (primitive types, Kotlin nullability) to express nullability or whether a constructor argument is required


Issue Links:

  • DATAMONGO-1849 Generate $jsonSchema out of domain type meta information

spring-projects-issues avatar Apr 09 '19 11:04 spring-projects-issues