Skip to content

[Serializer] AbstractObjectNormalizer Does Not Pass Context to the Type Extractor #25807

@chrisguitarguy

Description

@chrisguitarguy
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.4, 4.X

When invoking PropertyTypeExtractorInterface::getTypes, the AbstractObjectNormalizer does not passing the context.

This would be very nice to have, I think, so context from the serializer could be used make decisions about what the types are.

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