Skip to content

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

Open
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: mappingMapping and conversion infrastructuretype: taskA general task

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions