-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
I cannot get serialization groups to work this is probably my fault, but maybe someone else is having the same issue and can find help here.
serialization file:
DemoBundle\Entity\Comment:
exclusion_policy: ALL
xml_root_name: comment
properties:
id:
expose: true
type: integer
text:
expose: true
type: string
groups: [foo]
postId:
expose: true
type: DemoBundle\Entity\Post
serialized_name: postrouting:
comment_api:
resource: demo.comment
type: sylius.api
defaults:
serialization_groups: [foo]