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
$with
set, these relations are being applied to all models that are inembedsMany
relation with that model.Now, when you query
Users
you'll getsomeOtherRelation
andanotherRelation
as fields incomments
.Will generate you:
Beta Was this translation helpful? Give feedback.
All reactions