Expand description
Components for integrating GraphQL endpoints into Tsukuyomi.
Structs§
- Capture
Errors - GraphQL
Request - The type representing a GraphQL request from the client.
- GraphQL
Response - The type representing the result from the executing a GraphQL request.
Traits§
- Schema
- A marker trait representing a root node of GraphQL schema.
Functions§
- capture_
errors - Creates a
ModifyHandler
that catches the all kind of errors that the handler throws and converts them into GraphQL errors. - graphiql_
source - Creates a handler function which returns a GraphiQL source.
- request
- Create an
Extractor
that parses the incoming request as GraphQL query.