1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ResolveReference = void 0;
|
4 | const common_1 = require("@nestjs/common");
|
5 | const graphql_constants_1 = require("../graphql.constants");
|
6 | /**
|
7 | * Property reference resolver (method) Decorator.
|
8 | */
|
9 | function ResolveReference() {
|
10 | return (target, key, descriptor) => {
|
11 | (0, common_1.SetMetadata)(graphql_constants_1.RESOLVER_REFERENCE_METADATA, true)(target, key, descriptor);
|
12 | };
|
13 | }
|
14 | exports.ResolveReference = ResolveReference;
|