what is the point of this relation thing? i am try...
# prisma-whats-new
m
what is the point of this relation thing? i am trying to follow learnapollo tutorial and it shows me to create type:
Copy code
type user implements Node {
createdAt: ...
id: ...
posts: [Post]}
but i get response that relation is not set blah blah
a
Graphcool requires you to set the
@relation
attribute on the
posts
field, like documented here: https://www.graph.cool/docs/reference/schema/relations-goh5uthoc1/#relations-in-the-data-schema