Parent's $with relations are applied on all it's embedsMany relationships #2168
Unanswered
Al-bambino
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When Model has a field
$withset, these relations are being applied to all models that are inembedsManyrelation with that model.Now, when you query
Usersyou'll getsomeOtherRelationandanotherRelationas fields incomments.Will generate you:
Beta Was this translation helpful? Give feedback.
All reactions