async-graphql/docs/en/src/custom_extensions.md
2020-05-21 18:45:24 +02:00

501 B

Custom extensions

A GraphQL extension object can receive events in various stages of a query's execution, and you can collect various kinds of data to be returned in the query results.

You can use async_graphql::Extension to define an extension object, and your application must call Schema::extension when your Schema is created.

You can refer to Apollo Tracing to implement your own extension types.