Expand description
A structured representation of a federated GraphQL schema. Can be instantiated by composition or from SDL.
Re-exports§
pub use directives::*;
Modules§
- directives
- fmt
- Utilities for formatting and printing
String
s. - link
Structs§
- Directive
Definition Argument - Directive
Definition Id - Directive
Definition Record - Directive
Locations - https://spec.graphql.org/October2021/#sec-The-__Directive-Type
- Domain
Error - Enum
Definition Id - Enum
Definition Record - Enum
Value Id - Enum
Value Record - Extension
- Extension
Id - Federated
Graph - Field
- FieldId
- Field
Provides - Represents an
@provides
directive on a field in a subgraph. - Field
Requires - Represents an
@requires
directive on a field in a subgraph. - Field
Selection - Field
SetItem - Input
Object - Input
Object Id - Input
Value Definition - Input
Value Definition Id - Input
Value Definition SetItem - Interface
- Interface
Id - Key
- List
Size - Object
- Object
Id - Override
- Represents an
@override(graph: .., from: ...)
directive on a field in a subgraph. - Root
Operation Types - Scalar
Definition Id - Scalar
Definition Record - Selection
Set - String
Id - Subgraph
- Subgraph
Id - Type
- Union
- UnionId
- View
- View
Nested - Wrapping
- It’s structured as follows:
Enums§
Constants§
Functions§
- render_
api_ sdl - Render a GraphQL SDL string for a federated graph. It does not include any federation-specific directives, it only reflects the final API schema as visible for consumers.
- render_
federated_ sdl - Render a GraphQL SDL string for a federated graph. It includes join spec directives about subgraphs and entities.
Type Aliases§
- Directive
Definition - Enum
Value - Field
Set - Fields
- A (start, end) range in FederatedGraph::fields.
- Input
Value Definition Set - Input
Value Definitions - A (start, len) range in FederatedSchema.