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.
http://example.com/books?groups=group1,group2should 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 theSerializerContextBuilderto apply groups.