Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce IdentifierAccessor.getRequiredIdentifier() [DATACMNS-1015] #1464

Closed
spring-projects-issues opened this issue Mar 24, 2017 · 0 comments
Closed
Assignees
Labels
type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Mar 24, 2017

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 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")
  • DATACMNS-867 Upgrade to Java 8 and adapt APIs

Referenced from: commits 6b5b658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants