Skip to content

fix(symfony): metadata aware name converter has 0 arguments by default #6711

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

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Oct 9, 2024

Since symfony/symfony@ce228d3#diff-f53370286252d2326a377eafd4bba05112518e0c8bf3aedda670fd76a254e9fa the serializer.name_converter.metadata_aware is extending an abstract service. Therefore there are no arguments by default. We relied on the number of arguments to inject API Platform's configured name converter.

@soyuka soyuka force-pushed the fix/sf-dev-name-converter branch 3 times, most recently from 304d6cd to 6da8e8d Compare October 10, 2024 09:15
Since symfony/symfony@ce228d3#diff-f53370286252d2326a377eafd4bba05112518e0c8bf3aedda670fd76a254e9fa the serializer.name_converter.metadata_aware is extending an abstract service. Therefore there are no arguments by default. We relied on the number of arguments to inject API Platform's configured name converter.
@soyuka soyuka force-pushed the fix/sf-dev-name-converter branch from 6da8e8d to b0ac528 Compare October 10, 2024 09:21
@soyuka soyuka merged commit fbb53e5 into api-platform:3.4 Oct 10, 2024
78 checks passed
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