Open williamfeng91 opened 7 years ago
Hello,
I have encountered the same issue and fixed in on my fork. Here is a PR : https://github.com/SeyZ/jsonapi-serializer/pull/160
@SeyZ I don't know if it works for all purposes but I tried it on my project and it works for my use cases.
Would appreciate very much to have this in a next release ;-)
I believe the same applies to links...
First of all, thanks for adding the option
dataMeta
!However that does not work with included resource objects. From my understanding, the spec doesn't restrict us from putting
meta
in each included resource object which is what I need.For example I would like to do the following:
I'm happy to submit a pull request if you agree with this.