Package-level declarations

Types

Link copied to clipboard

Sentinel type for operations that take no variables.

Link copied to clipboard
sealed interface GraphQLData<out T>

Backend-neutral presence model for the data entry of a GraphQL response.

Link copied to clipboard
Link copied to clipboard

A registry that provides GraphQL document text and APQ hash for a given operation name.

Link copied to clipboard

Convenience interface for operations that take no variables.

Link copied to clipboard

Represents a statically-known GraphQL operation with generated metadata.

Link copied to clipboard
sealed interface GraphQLPathSegment

Backend-neutral segment of a GraphQL error GraphQLResponseError.path.

Link copied to clipboard
Link copied to clipboard
data class GraphQLResponse<T>(val data: GraphQLData<T> = GraphQLData.Absent, val errors: List<GraphQLResponseError> = emptyList(), val extensions: GraphQLValue.ObjectValue? = null)

Backend-neutral, spec-compliant GraphQL response envelope.

Link copied to clipboard
data class GraphQLResponseError(val message: String, val locations: List<GraphQLResponseError.Location>? = null, val path: List<GraphQLPathSegment>? = null, val extensions: GraphQLValue.ObjectValue? = null)

Backend-neutral, spec-compliant GraphQL error entry.

Link copied to clipboard
Link copied to clipboard
sealed interface GraphQLValue

Backend-neutral representation of an arbitrary GraphQL JSON value.

Link copied to clipboard
Link copied to clipboard

Marker interface for generated GraphQL variable classes.