You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mutation { # Every change request starts with the keyword mutation
setTrailStatus(id: "goosebumps" status: CLOSED) { # Change goosebumps status to closed
name # Return name and status of goosebumps after modification
status
}
}
Fragments - Collection of fields which can be used in a query
query {
allLifts {
...details # Fragment name used here
}
}
fragment details on Lift { # Fragment definition
id # Fields within the fragment
name
status
}
Subscriptions - Listener for any modifications to a specified field
subscription { # Every listener request starts with the keyword subscription
liftStatusChange { # Observes changes in the following fields
name
status
}
}