Skip to content

[Serializer] Document named serializers #20777

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
Apr 1, 2025

Conversation

HypeMC
Copy link
Member

@HypeMC HypeMC commented Mar 19, 2025

Closes #20235

named_serializers:
api_client1:
include_built_in_normalizers: false
include_built_in_encoders: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check fails because the default set of normalizers has been disabled, and no custom normalizer has been registered. But this is expected behavior.

@HypeMC HypeMC force-pushed the named-serializers branch from bf8e300 to 0d708cb Compare March 19, 2025 08:45
@MrYamous
Copy link
Contributor

IIUC this should be for 7.2, isn't ?

@HypeMC HypeMC force-pushed the named-serializers branch from 0d708cb to 1b09d4c Compare March 19, 2025 15:40
@HypeMC HypeMC changed the base branch from 7.3 to 7.2 March 19, 2025 15:40
@HypeMC
Copy link
Member Author

HypeMC commented Mar 19, 2025

IIUC this should be for 7.2, isn't ?

Yes, my mistake, fixed.

@xabbuh xabbuh modified the milestones: 7.3, 7.2 Mar 24, 2025
@javiereguiluz javiereguiluz merged commit bec0676 into symfony:7.2 Apr 1, 2025
2 of 3 checks passed
@javiereguiluz
Copy link
Member

@HypeMC thanks for such a nice contribution!

@HypeMC HypeMC deleted the named-serializers branch April 1, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Serializer] Introduce named serializers
5 participants