Open tranthienbinh1989 opened 9 years ago
I am trying to override User model from FosUserBundle. And I followed the document to add a yaml file for user model. But It doesn't work.
Here is my code:
jms_serializer: metadata: auto_detection: true directories:
FOS\UserBundle\Model\User: exclusion_policy: ALL properties : username : expose : true
/ping @schmittjoh
Have you found a solution? I have the same problem and I do not find solution.
I am trying to override User model from FosUserBundle. And I followed the document to add a yaml file for user model. But It doesn't work.
Here is my code:
jms_serializer: metadata: auto_detection: true directories:
FOS\UserBundle\Model\User: exclusion_policy: ALL properties : username : expose : true
/ping @schmittjoh