UNPKG

@nestjs/graphql

Version:

GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.

6 lines (5 loc) • 217 B
export class InvalidNullableOptionError extends Error { constructor(name, nullable) { super(`Incorrect nullable option set for ${name}. Do not combine non-list type with nullable "${nullable}".`); } }