-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-10708: Introduced SerializerFactory and improve serializer config #689
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
Conversation
Implemented `SerializerFactory` to streamline serializer creation logic. Updated services configuration to use tagged normalizers and encoders, improving modularity and maintainability. Added `SiteAccessMatcherDenormalizer` with corresponding service definitions.
…g redundant `Traversable` checks and improving property encapsulation.
c6e0e8f to
102f43b
Compare
|
tomaszszopinski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on Ibexa DXP v5 apache&ddev.
alongosz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This overall lacks some container-level testing (using e.g., Matthias' Symfony DI testing library). However coming a bit late to the party and I see there's some Behat coverage elesewhere, so +1.
| # Warning: Do NOT enable autoconfigure for Serializer and Normalizer services. | ||
| # They will be tagged with "serializer.normalizer" tag and injected to main app serializer service if done so. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be checked via container tests. It's easy to add _defaults on top of the file and miss that comment ;)



Related PRs:
https://github.com/ibexa/site-factory/pull/148
Description:
Implemented
SerializerFactoryto streamline serializer creation logic. Updated services configuration to use tagged normalizers and encoders, improving modularity and maintainability. AddedSiteAccessMatcherDenormalizerwith corresponding service definitions.For QA:
Regresssion: ibexa/commerce#1632
Documentation: