Crate grafbase_sdk_mock

Crate grafbase_sdk_mock 

Source
Expand description

Provides a dynamic GraphQL schema and subgraph implementation that can be built and executed at runtime.

This crate allows creating GraphQL schemas dynamically from SDL (Schema Definition Language) strings and executing queries against them. It also provides functionality for running mock GraphQL servers using these dynamic schemas.

Structs§

GraphqlSubgraph
A dynamic subgraph implementation that can be started as a mock GraphQL server.
GraphqlSubgraphBuilder
A builder for dynamic GraphQL schemas.
MockGraphQlServer
Represents a mock GraphQL server used for testing purposes.
VirtualSubgraph
A subgraph that only contains extension definitions. We do not spawn a GraphQL server for this subgraph.

Enums§

Subgraph
A mock subgraph that can either be a full dynamic GraphQL service or just extension definitions.