Skip to content

Conversation

@kbond
Copy link
Member

@kbond kbond commented Feb 2, 2022

Q A
Bug fix? no
New feature? yes
Tickets n/a
License MIT

This removes our custom hydration system and uses symfony/serializer directly. Hydrators are now just (de)normalizer's registered with Symfony as normal.

The serializer context (['live-component' => true]) can be used to restrict (de)normalizers to just live component properties.

@kbond kbond changed the title [Live] migrate Hydration system to standard Symfony normalizers [WIP][Live] migrate Hydration system to standard Symfony normalizers Feb 3, 2022
@kbond kbond force-pushed the live-normalizer branch 2 times, most recently from 09de631 to 93aaa37 Compare February 11, 2022 16:39
@kbond kbond changed the title [WIP][Live] migrate Hydration system to standard Symfony normalizers [Live] migrate Hydration system to standard Symfony normalizers Feb 11, 2022
@kbond kbond requested a review from weaverryan February 11, 2022 16:47
@weaverryan
Copy link
Member

Seems very resonable and makes custom code unnecessary. Let's give it a try - thanks Kevin!

@weaverryan weaverryan merged commit c27fa19 into symfony:2.x Feb 14, 2022
@kbond kbond deleted the live-normalizer branch February 14, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants