You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have an example of how to sideload data without relying on the client to supply the include parameter? I have a ModelViewSet where I want to push some related data to the client but I can't find an easy way to do this.
The text was updated successfully, but these errors were encountered:
Are you asking about a way to add data to included even if the query param include is not present or a way to add arbitrary data to the payload (this isn't allowed by the spec). If it's the former check out #250
Yep - it's the former. I'd like to get things into the included part of the response. Apologies for the issue noise - I didn't think to look in the pull requests.
Is it possible to have an example of how to sideload data without relying on the client to supply the
include
parameter? I have aModelViewSet
where I want to push some related data to the client but I can't find an easy way to do this.The text was updated successfully, but these errors were encountered: