type Lift { id: ID! name: String! status: LiftStatus! capacity: Int! night: Boolean! elevationGain: Int! } enum LiftStatus { OPEN HOLD CLOSED }
This Lift isn't open now but might open later.
type Trail { id: ID! name: String! status: TrailStatus! difficulty: Difficulty! groomed: Boolean! trees: Boolean! night: Boolean! } enum TrailStatus { OPEN CLOSED }
Only two options.
A Trail can't be on Hold.
REQUIREMENTS
In this activity, we'll create federated lifts and trails behind an Apollo Gateway.
By Moon Highway