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

feat(state): "deserializer_type" context #6429

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Jun 14, 2024

This PR is to allow something like:

#[Post(normalizationContext: ['deserializer_type' => 'Dummy[]'])]

where the Symfony deserializer would denormalize an array of Dummy

@soyuka soyuka force-pushed the feat/deserializer_class branch 3 times, most recently from e604941 to 4ca6796 Compare September 12, 2024 05:10
@soyuka soyuka changed the title feat(state): "deserializer_class" context feat(state): "deserializer_type" context Sep 12, 2024
@soyuka soyuka force-pushed the feat/deserializer_class branch from 4ca6796 to ac4fd66 Compare September 12, 2024 06:28
@soyuka soyuka force-pushed the feat/deserializer_class branch from ac4fd66 to 99ed5a3 Compare September 12, 2024 07:11
@soyuka soyuka merged commit e91c783 into api-platform:3.4 Sep 12, 2024
78 checks passed
@soyuka soyuka deleted the feat/deserializer_class branch September 12, 2024 08:10
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.

1 participant