@nestjs/graphql
Version:
GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.
12 lines • 487 B
TypeScript
/**
* Excludes the property from the schema generated with the CLI plugin.
*
* The plugin skips members decorated with `@HideField()` when it can tell
* from the source. The decorator also marks the member at runtime, so that it
* stays hidden when it is applied through `applyDecorators()` or another
* composed decorator the plugin cannot see through.
*
* @publicApi
*/
export declare function HideField(): PropertyDecorator;
//# sourceMappingURL=hide-field.decorator.d.ts.map