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ยง

DynamicSchema
A dynamic GraphQL schema that can be built and executed at runtime.
DynamicSchemaBuilder
A builder for dynamic GraphQL schemas.
DynamicSubgraph
A dynamic subgraph implementation that can be started as a mock GraphQL server.
MockGraphQlServer
Represents a mock GraphQL server used for testing purposes.