-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove obsolete and unnecessary properties from Table
attribute (#11351)
#11353
Remove obsolete and unnecessary properties from Table
attribute (#11351)
#11353
Conversation
Having doubts regarding whether this is the right target branch for this/whether there should be a deprecation instead. @derrabus , WDYT? |
Indeed, this is a breaking change. We need to deprecate those properties first. Target 3.2.x for the deprecation and 4.0.x for the removal. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retargeted the branch. Please add a note about this in UPGRADE.md
and open a separate PR deprecating both properties.
b1b6de7
to
f71c7f7
Compare
Here's the one for the deprecation: #11357 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this is a breaking change.
Thanks, I've missed that the target branch wasn't the appropriate one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be rebased, and the deprecation code needs to be removed
3dba7fb
to
07fd9df
Compare
👍 done! |
…ctrine#11351) The properties `indexes` and `uniqueConstraints` were present before and were used for the `AnnotationDriver` but were never implemented for the `AttributeDriver`. Since the `AnnotationDriver` doesn't exist anymore these can be safely removed reducing possible confusion when defining indices and uniqueConstraints in the `Table` attribute which never worked anyway.
07fd9df
to
9430d56
Compare
Congrats on your first contribution @DaDeather ! |
The properties
indexes
anduniqueConstraints
were present before and were used for theAnnotationDriver
but were never implemented for theAttributeDriver
.Since the
AnnotationDriver
doesn't exist anymore these can be safely removed reducing possible confusion when defining indices and uniqueConstraints in theTable
attribute which never worked anyway.Fixes #11351