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 MultipleFieldsWithSameNameError extends Error { constructor(field, objectTypeName) { super(`Cannot define multiple fields with the same name "${field}" for type "${objectTypeName}"`); } }