-
Notifications
You must be signed in to change notification settings - Fork 724
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
Use "ReferencedList" with a returned array #241
Comments
Our API can return nested related models too. It would be nice to have this option for this when calling |
Same here, heavily based on nested relations. This also applies to the other relation methods, ReferenceMany etc |
Great idea, this is something that |
+1 for this feature. |
I believe this implies the creation of a new type, something like |
Merci Francois! Please bear in mind that this kind of nesting can even go deeper. Something like: { |
+1 |
+1 |
1 similar comment
+1 |
I have investigated this project https://github.com/jdorn/json-editor in order to go from a json to an html editor. Just thought I would post this here as it could be of great help toward a custom json / metadata editor |
Fixed by #714 |
For instance a request to
http://localhost:3000/api/companies/65
returnsHow can I use the returned
employees
array in combination with the field typeReferencedList
(without making an extra API call, the returned array already contains all data)? Hence I want to use something like:Or if it doesn't work in combination with
ReferencedList
, how can I handle arrays like above instead?The text was updated successfully, but these errors were encountered: