Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Dependency-injection] CustomNormalizer not injected until set with priority #35991

Copy link
Copy link
Closed
@metfan

Description

@metfan
Issue body actions

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:

Symfony\Component\Serializer\Normalizer\CustomNormalizer:
    tags:
        - { name: serializer.normalizer, priority: 100 }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.