OutputField

data class OutputField(val name: String, val type: GraphQLType, val arguments: List<SchemaType.InputField> = emptyList(), val description: String? = null)(source)

A single output field on an object or interface type. Different from SchemaType.InputField: output fields can have arguments.

Parameters

name

The field name.

type

The GraphQL type of the field's return value.

arguments

The input arguments this field accepts, or empty if none.

description

The field's description from the schema, or null.

Constructors

Link copied to clipboard
constructor(name: String, type: GraphQLType, arguments: List<SchemaType.InputField> = emptyList(), description: String? = null)

Properties

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