GraphQLList
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 GraphQLObjectType({
name: 'Person',
fields: () => ({
parents: { type: new GraphQLList(PersonType) },
children: { type: new GraphQLList(PersonType) },
})
})
class GraphQLList<T extends GraphQLType> { }
constructor(ofType: T);
readonly ofType: T;
get [Symbol.toStringTag](): string;
toJSON(): string;
toString(): string;