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

Introduce IdentifierAccessor.getRequiredIdentifier()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0 M2 (Kay)
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Kay M2

      Description

      In some cases it might be necessary to access the identifier and immediately fail if there's no value available (e.g. in MongoTemplate.doSaveVersioned(…)). We should add a default overload of getIdentifier() to avoid clients having to deal with Optional themselves.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              olivergierke Oliver Drotbohm
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: