Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The service "serializer" has a dependency on a non-existent service "property_info.reflection_extractor"  #29391

Closed
@vuras

Description

@vuras

Symfony version(s) affected: 4.2.0

Description
Getting this error after upgrading Symfony to 4.2.0 from 4.1.7. If I remove the service definition below and add it again after container is compiled everything works fine.

How to reproduce
Adding to services.yaml

Symfony\Component\Serializer\Normalizer\ObjectNormalizer:
        arguments:
            $propertyTypeExtractor: '@property_info.reflection_extractor'

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