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 • 476 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MultipleFieldsWithSameNameError = void 0; class MultipleFieldsWithSameNameError extends Error { constructor(field, objectTypeName) { super(`Cannot define multiple fields with the same name "${field}" for type "${objectTypeName}"`); } } exports.MultipleFieldsWithSameNameError = MultipleFieldsWithSameNameError; //# sourceMappingURL=multiple-fields-with-same-name.error.js.map