nilportugues / symfony-jsonapi

JSON API Transformer Bundle for Symfony 2 and Symfony 3
http://nilportugues.com
MIT License
115 stars 19 forks source link

filter the included resource in the mapping configuration #36

Open babaorum opened 6 years ago

babaorum commented 6 years ago

Hi, it's a pretty nice job you have done. I just have a small issue, I don't know if there is a way to say in the mappings which relationships I want to include by default ? It seems relationships are included by default. I would like to choose which one are included by default.

From what I understood in the json api specification, it is something we can do.