Skip to content

Deprecated configuration key for serializer #2114

Closed
@mrskhris

Description

@mrskhris

Page https://api-platform.com/docs/core/serialization/#configuration-for-symfony mentions setting the following parameter:

# api/config/packages/framework.yaml
framework:
serializer: { enable_annotations: true }

It appears this parameter has been deprecated and later removed in 7.0:
https://github.com/symfony/framework-bundle/blob/7.2/CHANGELOG.md#70

Remove the framework.serializer.enable_annotations config option, use framework.serializer.enable_attributes instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions