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

fix(metadata): fix Operations sort #6206

Merged

Conversation

vincentchalamon
Copy link
Contributor

Operations->sort() are not called in every metadata factory. Instead of adding this call on each related metadata factory, I think it's better (and safer) to always call it on withOperations method call.

@vincentchalamon vincentchalamon self-assigned this Mar 7, 2024
@vincentchalamon vincentchalamon marked this pull request as draft March 7, 2024 11:14
@vincentchalamon vincentchalamon marked this pull request as ready for review March 7, 2024 14:11
@soyuka soyuka force-pushed the fix/metadata/operations-sort branch from c9ecdfa to 0fb2048 Compare March 7, 2024 15:49
@soyuka soyuka force-pushed the fix/metadata/operations-sort branch from 0fb2048 to c1e1add Compare March 7, 2024 15:50
@soyuka soyuka merged commit 98f4b8f into api-platform:3.2 Mar 7, 2024
55 checks passed
@vincentchalamon vincentchalamon deleted the fix/metadata/operations-sort branch March 7, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants