Closed npatmaja closed 8 years ago
This behavior was initially tried to be solved on #40, and it has included some tests, particularly this one that I think touches the topic you mention. However, the solution did not completely solve the problem and its a WIP in PR #47. I'll keep working on that PR from next week when I have time available. Of course, you are more than welcome to contribute, specially on providing failing test cases ;)
Hi @ShadowManu thanks for your answer, I'll look at my case and try to create a test case (or two) out of that :)
This has been solved on #47 and I'll go ahead of release and close this.
Hi, I have a model that has a has many relationship that also has a has many relationship
When I map the resulting model with jsonapi-mapper, it returns only the first level of the relationship (
A
has manyB
). Is this functionality not supported yet?note: After looking at the source code, it seems that the function
mapRelations
works only for model as typeCollection
does not have propertyrelations
(it has propertymodels
tho), please do correct me if I'm wrong.