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.

10 lines • 521 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DefaultNullableConflictError = void 0; class DefaultNullableConflictError extends Error { constructor(hostTypeName, defaultVal, isNullable) { super(`Incorrect "nullable" option value set for ${hostTypeName}. Do not combine "defaultValue: ${defaultVal}" with "nullable: ${isNullable}".`); } } exports.DefaultNullableConflictError = DefaultNullableConflictError; //# sourceMappingURL=default-nullable-conflict.error.js.map