Namespace ProtoTest.GraphQL
Classes
- GraphQLAssertionException
Represents a failed GraphQL assertion whose message names the operation it was made against. A shape failure keeps the shared
JsonShapeMismatchExceptionas 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.
- GraphQLFailureData
Failure data attached to a
graphql.failureobservation. The address and the message are sanitized with the same rules as the response diagnostics, so credentials and sensitive values never reach the trace.
- GraphQLResponseData
Response data attached to a
graphql.responseobservation.
- 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.
- 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.
Interfaces
- IGraphQLWebSocketFactory
Creates connected WebSockets for GraphQL subscriptions. Implementations must negotiate the
graphql-transport-wssubprotocol.
Enums
- GraphQLSubscriptionTransport
Selects the wire transport used for GraphQL subscriptions.