Expand description
Type definitions of the input and output data structures of the SDK.
Structs§
- Authorization
Decisions - Authorization decisions for each query elements to be applied by the GraphQL engine.
- Cache
- A cache implementation for storing data between requests.
- Configuration
- Configuration data for the extension, from the gateway toml config.
- Enum
Directive Site - A directive site for enums
- Error
- Graphql Error with a message and extensions
- ErrorId
- Error identifier to allow re-using the same error for multiple elements. In the gateway response, the error will be repeated if necessary during serialization.
- Error
Response - A response containing a status code and multiple errors.
- Field
Definition Directive - A field definition directive with its site information
- Field
Definition Directive Site - A directive site for field definitions
- Field
Inputs - A container for field inputs.
- Field
Output - Output responses from the field resolver.
- Interface
Directive Site - A directive site for interfaces
- Object
Directive Site - A directive site for object types
- Query
Element - An element of the query on which a directive was applied.
- Query
Elements - A list of elements present in the query on which one of the extension’s directive was applied on their definition.
- Scalar
Directive Site - A directive site for scalars
- Schema
Directive - The directive and its arguments which define the extension in the GraphQL SDK.
- Sparse
Deny Authorization Decisions - To be used when denying some of the elements. By default everything is granted.
- Status
Code - An HTTP status code (
status-codein RFC 9110 et al.). - Token
- A structure representing an authentication token claims.
- Union
Directive Site - A directive site for union types
Enums§
- Directive
Site - The site where a directive is applied in the GraphQL schema.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.