Skip to content

Add a filter to pass dynamic serialization groups in the URL #1082

Description

@dunglas

http://example.com/books?groups=group1,group2 should add the passed groups to the list of applied groups. The groups configured tru annotations should be preserved or not depending of a configuration flag.

The filter should not be Doctrine dependent. It must implement the FilterInterface (to appear in the documentation) and decorate the SerializerContextBuilder to apply groups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions