-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Default ORDER BY for all entities and their relationships #14685
Conversation
daf1db4
to
25b5c3c
Compare
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.
I am wondering whether this should be regarded as a bug fix or a new feature. In theory, this PR adds new functionality but also fixes an inconsistency in how data is loaded between different database engines, which fails some builds. I would probably be in favour of opening this to 1.11, but I'm curious to hear other people's opinions 🤔
What is more, if the base branch were to be changed (or not only then), it would be nice to note this change in the proper UPGRADE files. |
283c2f9
to
5ee52d0
Compare
5ee52d0
to
2cffba8
Compare
62e2c1e
to
53caa2f
Compare
Thanks, Kevin! 🥇 |
… all entities (GSadee) This PR was merged into the 1.12 branch. Discussion ---------- | Q | A | |-----------------|--------------------------------------------------------------| | Branch? | 1.12| | Bug fix? | no | | New feature? | no | | BC breaks? | no | | Deprecations? | no| | Related tickets | after #14685 | | License | MIT | <!-- - Bug fixes must be submitted against the 1.11 or 1.12 branch - Features and deprecations must be submitted against the 1.13 branch - Make sure that the correct base branch is set To be sure you are not breaking any Backward Compatibilities, check the documentation: https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html --> Commits ------- 3dbecb7 Add note to UPGRADE-1.12 file about default order by for all entities
This PR introduces
OrderByIdentifierSqlWalker
and adds the defaultorder by
to the ORM configurations for all relationships.