Skip to content

Conversation

taylorotwell
Copy link
Member

This revisits: #41432

It was previously reverted due to one Nova plugin complaining about a breaking change, but it is simply the correct behavior. When sorting for middleware priority we should consider the parent class as well. For example, if you extend a class that is in the middleware priority list, Laravel should maintain the property priority of the parent class.

@taylorotwell taylorotwell merged commit 025c912 into 10.x May 5, 2023
@taylorotwell taylorotwell deleted the middleware-priority branch May 5, 2023 19:47
milwad-dev pushed a commit to milwad-dev/framework that referenced this pull request May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant