We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3963b55 commit a8801c7Copy full SHA for a8801c7
pages/en/developer/create-subgraph-hosted.mdx
@@ -333,13 +333,13 @@ A more performant way to store this relationship is through a mapping table that
333
type Organization @entity {
334
id: ID!
335
name: String!
336
- members: [UserOrganization]! @derivedFrom(field: "user")
+ members: [UserOrganization]! @derivedFrom(field: "organization")
337
}
338
339
type User @entity {
340
341
342
- organizations: [UserOrganization!] @derivedFrom(field: "organization")
+ organizations: [UserOrganization!] @derivedFrom(field: "user")
343
344
345
type UserOrganization @entity {
0 commit comments