Skip to content

[FrameworkBundle] Config documented as default false but not really #12953

@bastnic

Description

@bastnic

I'm not sure it's a bug or not but I want to share something.

The config enable_annotations for serialization and validator are documented to be false by default (https://symfony.com/doc/current/reference/configuration/framework.html#reference-serializer-enable-annotations).

In reality it's not what really happens in the case you use symfony/symfony (see here and here).

I do use symfony/symfony and I saw that I had an annotationLoader for stuff I didn't want, and the cost is not harmless for performance.

I'm not sure if it's a bug in the code itself or in the documentation, so hey!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions