Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1513

Expose nullability requirements for PersistentProperty and PreferredConstructor arguments

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mapping / Conversion
    • Labels:
      None
    • Sprint:
      Lovelace SR1, Moore RC1, Moore RC2, Moore SR1, Moore SR2, Neumann M3, Neumann M4, Neumann RC1, 2020.0.0 - Ockham M1

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mp911de Mark Paluch
              Reporter:
              mp911de Mark Paluch
              Last updater:
              Christoph Strobl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: