Tag: subgraph
-
Allowing unrequired lists in graphql
-1 type Participants @entity(immutable: true) { id: String! games: [Games] # array of games they are a part of } this returns the error Participants: – Field ‘games’: Field has type [Games] but must have type [Games!] Reason: Lists with null elements are not supported. see in my contract when a participant in initialized he…
-
Cross-referencing a type with Apollo Federation across multiple sub-graphs
0 I am new to Apollo Federation and I am having the following issue / question: In Subgraph A I have the following: type Product @key(fields: "id") { { id: ID! title: String } In Subgraph B I have the following: type Product @key(fields: "id") { { id: ID! related: [Product] } When I run…