Trying to use multiple normalizers in one serializer symfonyphp. #52635
Replies: 3 comments 7 replies
-
What is the actual issue you have ? Without an error message and without a reproducing case (which could allow us to figure out the error message, even though that would not be friendly to people helping to force them to discover the error message), there is no way for us to even know what you are having as issue (and so no way to help) |
Beta Was this translation helpful? Give feedback.
-
The code looks fine. We need more details. |
Beta Was this translation helpful? Give feedback.
-
it's like that i want to use ClientNormalizer then OrderNormalizer then ItemNormalizer and on ...
to make chainNormalizer like chainEncoder does for example |
Beta Was this translation helpful? Give feedback.
-
Hi, hope you are doing good!
I'm trying to use multiple normalizers in my serializer.yaml file!
But i'm managing to only get the first normalizer in the array! any help please ?
Only - '@app\Serializer\Normalizer\ClientNormalizer' is accessed by this way and always the first element in the array gets accessed ?
And this is how i call them in my
Beta Was this translation helpful? Give feedback.
All reactions