ResponseSelectionSet

data class ResponseSelectionSet(val parentType: String, val responsePath: ResponsePath = emptyList(), val fields: List<ResponseFieldVariant>)(source)

A normalized set of response field variants selected from a single parent type in the schema.

Parameters

parentType

The schema type name that owns these fields.

responsePath

The response path from the root of the query to this selection set. Empty for the top-level operation.

fields

The selected field variants in deterministic order (sorted by ResponseFieldVariant.responseName).

Constructors

Link copied to clipboard
constructor(parentType: String, responsePath: ResponsePath = emptyList(), fields: List<ResponseFieldVariant>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard