Namespace Kuestenlogik.Bowire.Protocol.GraphQL.Mock
Classes
- GraphQlMockSchemaSource
GraphQL plugin's contribution to the Bowire mock server's schema-only flow. Differs from the OpenAPI / Protobuf sources because GraphQL responses are selection-set-dependent — there's no way to pre-bake them into a static BowireRecording. Therefore BuildAsync(string, CancellationToken) returns an empty recording and the actual request handling lives in the companion IBowireMockLiveSchemaHandler implementation, which the mock server registers as middleware in front of the recording-replay pipeline.
- GraphQlSchemaHandler
GraphQL schema-only mock handler. Loads an SDL file once at startup, indexes its type definitions, and answers every
POST /graphqlrequest by parsing the incoming query, walking the schema for each selected field, and emitting a sample-valued JSON response that matches the selection set.