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
typeUser @mongo(name: "users"){comments: [Comment] @link(to: "user")}typeComment @mongo(name: "comments"){user: User @link(field: "userId")post: Post @link(field: "postId")}typePost @mongo(name: "posts"){comments: [Comment] @link(to: "post")}
How would I need to adjust the directives, if Comment was embedded in Post? When I'm removing the @mongo directive from type Comment, Meteor will throw an error mentioning that we can't use @link on types that don't have a @mongo directive.
Taken the example from the
grapher
docs:How would I need to adjust the directives, if
Comment
was embedded inPost
? When I'm removing the@mongo
directive fromtype Comment
, Meteor will throw an error mentioning that we can't use@link
on types that don't have a@mongo
directive.The text was updated successfully, but these errors were encountered: