-
Taking the familiar example of a blog post/article, would it be possible to return both the comments on the article and the authors of those comments? The following quote (emphasis mine) leads me to believe this use case to be in-spec., but I'm not sure how to do so with DJA:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes this is possible as per specification include needs to be defined dotted. So for your example the include query parameter should look like this:
For this to work you define |
Beta Was this translation helpful? Give feedback.
Yes this is possible as per specification include needs to be defined dotted.
So for your example the include query parameter should look like this:
For this to work you define
included_serializers
in your serializers as per documentation.