ProjectedField

constructor(responseName: String, schemaName: String, outputType: GraphQLType, condition: SelectionCondition, selectionSet: ProjectedSelectionSet? = null)(source)

Parameters

responseName

The key in the JSON response.

schemaName

The actual field name on the schema type.

outputType

The return type of this field.

condition

The directive-derived condition.

selectionSet

Recursively projected nested selections, or null.