Skip to content

[Serializer] Document DateTimeNormalizer::CAST_KEY context option #19488

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
Feb 4, 2024

Conversation

SzymonKaminski
Copy link
Contributor

PR documents new context option CAST_KEY of DateTimeNormalizer that allows to cast objects to integers or floats.

Resolves #19485
Feature PR: symfony/symfony#53056

@carsonbot carsonbot added this to the 7.1 milestone Feb 3, 2024
@OskarStark OskarStark changed the title [Serializer] Document DateTimeNormalizer::CAST_KEY context option [Serializer] Document DateTimeNormalizer::CAST_KEY context option Feb 4, 2024
@OskarStark
Copy link
Contributor

Thank you @SzymonKaminski.

@OskarStark OskarStark merged commit a95c266 into symfony:7.1 Feb 4, 2024
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] Add DateTimeNormalizer::CAST_KEY context option
3 participants