Skip to main content

Module schema

Module schema 

Source
Expand description

GraphQL schema parsing and generation

Structs§

GraphQLSchema
GraphQL schema manager
MutationRoot
Root mutation type. A single createUser mutation lets clients exercise the mutation dispatch path against the default schema without registering a custom SDL. The mutation is stateless — the “created” user is fabricated from the inputs plus a deterministic id derived from (name, email), so callers can assert on the shape of the return value without mocking storage.
Post
Simple Post type for GraphQL
QueryRoot
Root query type
SubscriptionRoot
Root subscription type. A single tick subscription lets clients exercise the subscription dispatch path (WebSocket via graphql-transport-ws / graphql-ws, SSE, etc.) against the default schema without registering a custom SDL.
User
Simple User type for GraphQL