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 your feature request related to a problem? Please describe.
I want to get eg. documents with related models, however, if the related entry is not present, then the whole "row" goes missing. If I call like so:
{
"include": [{
"relation": "members"
}]
}
then all the results than do not have a corresponding member don't get returned at all.
Describe the solution you'd like
Return all results, even without the related models.
Instead of the missing object, return something else: null, string (n/A), ...(?).
Describe alternatives you've considered
Throw an error.
Additional context
Not something crazy important but it feels awkward.
The text was updated successfully, but these errors were encountered:
jirzi0
changed the title
Return entries although their related are missing, instead of "hiding" the entire thing.
Return entries although their related objects are missing, instead of "hiding" the entire thing.
May 22, 2020
jirzi0
changed the title
Return entries although their related objects are missing, instead of "hiding" the entire thing.
Return entries although their related objects are missing
May 22, 2020
Is your feature request related to a problem? Please describe.
I want to get eg. documents with related models, however, if the related entry is not present, then the whole "row" goes missing. If I call like so:
then all the results than do not have a corresponding member don't get returned at all.
Describe the solution you'd like
Return all results, even without the related models.
Instead of the missing object, return something else: null, string (n/A), ...(?).
Describe alternatives you've considered
Throw an error.
Additional context
Not something crazy important but it feels awkward.
The text was updated successfully, but these errors were encountered: