You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
After upgrade from 4.4.4 to 4.4.5, I see my app crashed because of missing CustomNormalizer.
I must add priority on the tag to see this normalizer injected in Serializer.
How to reproduce
With this simple config in service.yaml CustomeNormalizer is injected to Serializer before 4.4.5
metfan
changed the title
[Serializer] CustomNormalizer not injected until set with priority
[Dependency-injection] CustomNormalizer not injected until set with priority
Mar 6, 2020
Symfony version(s) affected: 4.4.5
Description
After upgrade from 4.4.4 to 4.4.5, I see my app crashed because of missing CustomNormalizer.
I must add priority on the tag to see this normalizer injected in Serializer.
How to reproduce
With this simple config in service.yaml CustomeNormalizer is injected to Serializer before 4.4.5
Symfony\Component\Serializer\Normalizer\CustomNormalizer:
with 4.4.5 I must write:
The text was updated successfully, but these errors were encountered: