Namespace ProtoTest.GraphQL

Classes

Gql
GqlType
GraphQLAssertionException

Represents a failed GraphQL assertion whose message names the operation it was made against. A shape failure keeps the shared JsonShapeMismatchException as its inner exception, so the mismatch list stays inspectable.

GraphQLAssertions

The assertions reachable through Should and ShouldNot; the shared facade owns the polarity, so a negated error assertion asks for the opposite of its positive spelling.

GraphQLConnectionBuilder
GraphQLCoverageCollector
GraphQLEnum
GraphQLError
GraphQLFailureData

Failure data attached to a graphql.failure observation. The address and the message are sanitized with the same rules as the response diagnostics, so credentials and sensitive values never reach the trace.

GraphQLFieldBuilder
GraphQLFieldSelection
GraphQLFilterBuilder
GraphQLOperationBuilder
GraphQLOrderBuilder
GraphQLProtocolException
GraphQLRequestBuilder
GraphQLResponse
GraphQLResponseData

Response data attached to a graphql.response observation.

GraphQLSchemaCoverageCollector

Collects GraphQL schema coverage: every type, field, argument and input field of the schema, hit or not. A source that is a path on the application (/graphql?sdl) with no address to resolve it against loads from the application once the run's infrastructure started.

GraphQLSelectionBuilder
GraphQLShouldAssertions

The positive assertions of a GraphQL response, reached through Should. Shape is positive-only - a negated shape match has no meaning - so it lives here and not on the shared facade ShouldNot returns. MatchShape(object, JsonSerializerOptions?) returns the response, so assertions chain.

GraphQLSubscription
GraphQLTypeReference
GraphQLUpload
GraphQLVariableReference
GraphQLVariableValue
ProtoExecutionContextExtensions
ProtoGraphQLBuilder
ProtoGraphQLTargetBuilderExtensions
ProtoHostBuilderExtensions

Interfaces

IGraphQLWebSocketFactory

Creates connected WebSockets for GraphQL subscriptions. Implementations must negotiate the graphql-transport-ws subprotocol.

Enums

GraphQLSubscriptionTransport

Selects the wire transport used for GraphQL subscriptions.