Skip to content
Advertisement

Tag: fosrestbundle

Groups Annotations don’t works

Symfony 3.1.7 + FOSRestBundle latest version Then in my Article entity I added this annotation @Groups({“article”}) with the right use statement. Whit default serializer I get : Whit JMS serializer (bundle) I get : (I have two articles in db) it seems like the “article” group is not recognized. When I use the default serializer whithout this annotations I get

Advertisement