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

Document class-level Index annotations and deprecate other ways of specifying them #2235

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

malarzm
Copy link
Member

@malarzm malarzm commented Oct 26, 2020

Q A
Type improvement
BC Break no (yet)
Fixed issues n/a

Summary

PHP 8.0's native attributes are not supporting nested attributes like doctrine annotations did. The only nested annotation in the ODM is an @Index which already could be used on a class-level, but wasn't advertised as such in the docs. The PR updates documentation and makes specifying @Index annotations on class level a recommended way to go deprecating other ways of doing so.

@malarzm malarzm added this to the 2.2.0 milestone Oct 26, 2020
@malarzm malarzm requested a review from alcaeus October 26, 2020 20:16
@malarzm malarzm force-pushed the document-level-index branch from 9bf919d to 7435e66 Compare November 3, 2020 22:23
@malarzm malarzm merged commit 9992f2a into doctrine:master Nov 3, 2020
@malarzm malarzm deleted the document-level-index branch November 3, 2020 23:02
@malarzm malarzm mentioned this pull request Nov 4, 2020
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants