Skip to content

[Symfony] ApiResource attribute auto excluded from services #7065

@Nayte91

Description

@Nayte91

Hello,

On the Symfony side, I was advocating for auto exclude some classes from the service container, based on their attributes. This way, with this PR, Entity and AsMessage are now auto excluded from services, as it won't need to exclude them with Exclude attribute or within the config/services.yaml exclude key.

So I wonder (I don't really know where to check) if the ApiResource tagged classes are already auto excluded, and if they should (I think they do)?

Best regards,

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