OBJECT
Query
Root query
link GraphQL Schema definition
- type Query {
- # Return the hero by episode.
- #
- # Arguments
- # episode: If omitted, returns the hero of the whole saga. If
- # provided, returns the hero of that particular episode.
- Episode): Character ( :
- # Return the Human by ID.
- #
- # Arguments
- # id: id of the human
- ID!): Human ( :
- # Return the Droid by ID.
- #
- # Arguments
- # id: id of the droid
- ID!): Droid ( :
- }
link Require by
This element is not required by anyone