import { GraphQLList } from "https://deno.land/x/kilatgraphql@16.6.0/mod.ts";
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) },
})
})
Constructors
new
GraphQLList(ofType: T)Type Parameters
T extends GraphQLType
Properties
readonly
ofType: T