New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it support nested data on the fields
declaration?
#11
Comments
As of right now, that would be a manual process (overriding It'd be nice to have some kind of support for this in the future (so I'll leave the issue open), but for now, it's BYOD (bring your own data). For example, you could do:
Not super-elegant (& there's definitely ways to abstract your own logic), but it would at least function for now. |
This should be easier to implement as of Restless 2.0.0, at least in terms of abstraction & less pain. A custom I'm still thinking about if I want to support this natively (maybe a |
It would be great if you would support this natively since i think that feature will be used very frequently! |
Would be a great feature. Right now I manually build the json dict as suggested in #11 (comment) |
I'm working on that in the branch |
This was merged today. Restless 2.1 will be released in a bit! Thanks for the feature request @marcio0! |
As a django-piston user, it is common to have nested data on the fields declaration:
On django-tastypie, this is similar to use
full = True
on ForeignKey fields.Is there a way to work with nested data?
The text was updated successfully, but these errors were encountered: