Complete the code to define a GraphQL type with a description.
type Book { id: ID! title: String! [1] description: String }The description field can have a string description in quotes to document it.
Complete the code to add a description to the entire GraphQL schema.
"[1]" schema { query: Query }
The schema description is a string placed before the schema keyword.
Fix the error in the code to properly document a field with a description.
type Author { [1] name: String! }Field descriptions are added as strings in quotes right before the field.
Fill both blanks to add descriptions to a GraphQL enum and its values.
enum Color [1] { [2] RED GREEN BLUE }
The enum has a description string before the braces. Enum values can have descriptions before them.
Fill all three blanks to add descriptions to a GraphQL input type and its fields.
input UserInput [1] { [2] username: String! [3] age: Int }
The input type has a description string before the braces. Each field can have its own description string before it.