@nestjs/graphql
Version:
GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.
9 lines • 386 B
TypeScript
/**
* Adds one or more directives to a field, type, or handler. Passing an array
* attaches every directive in a single decorator call, equivalent to stacking
* multiple `@Directive(...)` decorators.
*
* @publicApi
*/
export declare function Directive(sdl: string | string[]): MethodDecorator & PropertyDecorator & ClassDecorator;
//# sourceMappingURL=directive.decorator.d.ts.map