The next composition challenge will unlock at midnight (UTC) on May, 20th

00
Days
00
Hours
00
Minutes
00
Seconds
Go back

Challenge #11

Will it compose?

Subgraph 1

directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECT
directive @shareable on FIELD_DEFINITION | OBJECT
type Query {
onTheEleventhDayOfGraphmas: WunderGraph!
}
enum MusicalKey {
C
D
}
type Piper @key(fields: "id") @shareable {
id: ID!
childrenFollowing: Int
musicalKeys: [MusicalKey!]!
requestAvailable(songName: String!, songNamesByCategory: [[String!]]): [[Boolean!]]!
}
type WunderGraph {
id: ID!
gaveToMe: [Piper!]!
}

Subgraph 2

directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECT
directive @shareable on FIELD_DEFINITION | OBJECT
enum MusicalKey {
D
G
}
type Piper @key(fields: "id") @shareable {
id: ID!
childrenFollowing: Int!
musicalKeys: [MusicalKey!]
requestAvailable(songName: String, songNamesByCategory: [[String!]!]!): [[Boolean!]!]!
}