OutputField

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

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.