The next composition challenge will unlock at midnight (UTC) on November, 22nd
00
Days00
Hours00
Minutes00
Seconds Go back
Challenge #7
Will it compose?
Subgraph 1
directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECTdirective @shareable on FIELD_DEFINITION | OBJECT
scalar openfed_FieldSet
type Query { onTheSeventhDayOfGraphmas: WunderGraph!}
type WunderGraph@key(fields: "name")@key(fields: """ id gaveToMe { thingsBrought { quantity } betterThanYours }""") { id: ID! name: String! gaveToMe: MilkshakeMaids!}
enum BoysInYard { ALL NONE}
type Boys { quantity: BoysInYard!}
type MilkshakeMaids { thingsBrought: Boys betterThanYours: Boolean! tuitionCharge: Int! @shareable}
Subgraph 2
directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECTdirective @shareable on FIELD_DEFINITION | OBJECT
scalar openfed_FieldSet
type WunderGraph @shareable@key(fields: """ id gaveToMe { thingsBrought { quantity } betterThanYours }""") { id: ID! gaveToMe: MilkshakeMaids!}
enum BoysInYard { ALL NONE}
type Boys @shareable { quantity: BoysInYard!}
type MilkshakeMaids @shareable { thingsBrought: Boys betterThanYours: Boolean! tuitionCharge: Int!}