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) • 276 B
export class DefaultNullableConflictError extends Error { constructor(hostTypeName, defaultVal, isNullable) { super(`Incorrect "nullable" option value set for ${hostTypeName}. Do not combine "defaultValue: ${defaultVal}" with "nullable: ${isNullable}".`); } }