Skip to content

[Doc] Normalized or denormalized data in a form #53979

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

Closed
wants to merge 1 commit into from

Conversation

chadyred
Copy link
Contributor

Q A
Branch? 7.1
Bug fix? no
New feature? no
Deprecations? no
License MIT

Hi their,

Based on the schema https://symfony.com/doc/current/components/serializer.html, not sure if the word "normalized" is the good one about data flow : scalar -> object, it seems "denormalized" are more correct ? Serialization porcess sometimes is not clear to me :)

Based on the schema `https://symfony.com/doc/current/components/serializer.html`, not sure if the word "normalized" is the good one about data flow : scalar -> object seems a "denormalized" format
@carsonbot carsonbot added this to the 7.1 milestone Feb 17, 2024
@xabbuh
Copy link
Member

xabbuh commented Feb 19, 2024

I think you are confusing the Form (the component you changed here) and the Serializer (the one you linked to) component here. :) In the Form component we have the model, the norm and the view format (see https://symfony.com/doc/current/form/data_transformers.html#about-model-and-view-transformers).

@chadyred
Copy link
Contributor Author

Thank you, I close and mind map these difference :)

@chadyred chadyred closed this Feb 19, 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.

3 participants