symfony-docs icon indicating copy to clipboard operation
symfony-docs copied to clipboard

[Serializer] Add `SnakeCaseToCamelCaseNameConverter`

Open thibaut22200 opened this issue 1 year ago • 1 comments

Document https://github.com/symfony/symfony/pull/58060 and closes https://github.com/symfony/symfony-docs/issues/20151

thibaut22200 avatar Aug 23 '24 14:08 thibaut22200

I think there is still some misunderstanding. When the name converter is being used the name of the property is converted but not the value. So I would expect a class with a property like $full_name and a key like fullName in the normalised data.

xabbuh avatar Aug 28 '24 06:08 xabbuh

Hi!

We've rewritten the Serializer documentation. In this process, we've merged the contents of the component and framework documentation. Do you have time to update this PR to instead document this new feature in https://symfony.com/doc/current/serializer.html#camelcase-to-snake-case ? No worries if you can't make the change, we can always take over this PR and make this change.

wouterj avatar Dec 07 '24 12:12 wouterj

Hi, I opened a new PR based on new merged content: https://github.com/symfony/symfony-docs/pull/20774

alamirault avatar Mar 18 '25 21:03 alamirault