Reputation: 5338
I'm trying to understand the snipppet from graph ql appollo tutorial. What is the exclamation mark for after the variable? ID!
query GetLaunchById($id: ID!) {
launch(id: $id) {
id
rocket {
id
type
}
}
}
Upvotes: 0
Views: 510