@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
11 lines (10 loc) • 440 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = void 0;
require("reflect-metadata");
const gql_paramtype_enum_1 = require("../enums/gql-paramtype.enum");
const param_utils_1 = require("./param.utils");
function Context(property, ...pipes) {
return (0, param_utils_1.createGqlPipesParamDecorator)(gql_paramtype_enum_1.GqlParamtype.CONTEXT)(property, ...pipes);
}
exports.Context = Context;