Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use "service" in Expose / Exclude #726

Closed
hsb1007 opened this issue Feb 19, 2019 · 2 comments
Closed

How to use "service" in Expose / Exclude #726

hsb1007 opened this issue Feb 19, 2019 · 2 comments

Comments

@hsb1007
Copy link

hsb1007 commented Feb 19, 2019

I can see a function 'service' for Expose / Exclude Expression but when I use it, it doesn't grab the service as intended.

Does anyone know how to use 'service' in if Expression in Exclude / Expose?

@goetas
Copy link
Collaborator

goetas commented Feb 19, 2019

are you using the seraializerbuilder or the bundle-provided $serializer service?

@goetas
Copy link
Collaborator

goetas commented Feb 19, 2019

I can from #725 that you are using the bundle.
Please use the 'jms_serializer' service, that is already properly configured.

here http://jmsyst.com/bundles/JMSSerializerBundle#installation you can find how to install and use it

@goetas goetas closed this as completed Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants