@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
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