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
Issue Links:
DATAMONGO-1647 Use IdentifierAccessor.getRequiredIdentifier() in MongoTemplate.doSaveVersioned(…)
("is depended on by")
Oliver Drotbohm opened DATACMNS-1015 and commented
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 ofgetIdentifier()
to avoid clients having to deal withOptional
themselvesIssue Links:
("is depended on by")
Referenced from: commits 6b5b658
The text was updated successfully, but these errors were encountered: