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

00
Days
00
Hours
00
Minutes
00
Seconds
Go back

Challenge #12

Will it compose?

Subgraph 1

# the name of this subgraph is "subgraph1"
directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECT
directive @shareable on FIELD_DEFINITION | OBJECT
type Query @shareable {
onTheTwelfthDayOfGraphmas: WunderGraph! @override(from: "subgraph3")
}
type WunderGraph @shareable {
gaveToMe: [Drummer!]!
}
type Drummer @shareable {
isDrumming: Boolean!
}

Subgraph 2

# the name of this subgraph is "subgraph2"
directive @key(fields: openfed_FieldSet!, resolvable: Boolean = true) on INTERFACE | OBJECT
directive @shareable on FIELD_DEFINITION | OBJECT
type Query @shareable {
onTheTwelfthDayOfGraphmas: WunderGraph! @override(from: "subgraph3")
}
type WunderGraph @shareable {
gaveToMe: [Drummer!]!
}
type Drummer @shareable {
isDrumming: Boolean!
}