Skip to main content

GraphQLListImpl <T>

List Type Wrapper

A list is a wrapping type which points to another type. Lists are often created within the context of defining the fields of an object type.

Example:

const PersonType = new GraphQLObjectTypeImpl({
name: 'Person',
fields: () => ({
parents: { type: new GraphQLListImpl(PersonType) },
children: { type: new GraphQLListImpl(PersonType) },
})
})

Hierarchy

  • GraphQLEntityImpl
    • GraphQLListImpl

Implements

  • GraphQLList<T>

Index

Constructors

constructor

Properties

readonly[GRAPHQL_LIST_TYPE_SYMBOL]

[GRAPHQL_LIST_TYPE_SYMBOL]: true = true

readonly[GRAPHQL_VERSION_SYMBOL]

[GRAPHQL_VERSION_SYMBOL]: undefined = undefined

readonlyofType

ofType: T

Accessors

[toStringTag]

  • get [toStringTag](): string
  • Returns string

Methods

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string