Wrapping Types
Wrapping types allow to modify the behavior of the inner (wrapped) type. The inner types can be of any GraphQLType
and wrapping types can be Output or Input Types if the wrapped type is an Output or Input type. GraphQL has two wrapping types, GraphQLNonNullType
and GraphQLListType
.