1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ResolveProperty = void 0;
|
4 | const common_1 = require("@nestjs/common");
|
5 | const resolve_field_decorator_1 = require("./resolve-field.decorator");
|
6 | const logger = new common_1.Logger('GraphQLModule');
|
7 |
|
8 |
|
9 |
|
10 | function ResolveProperty(propertyNameOrFunc, typeFuncOrOptions, options) {
|
11 | logger.warn('The "@ResolveProperty()" decorator has been deprecated. Please, use the "@ResolveField()" decorator instead.');
|
12 | return (0, resolve_field_decorator_1.ResolveField)(propertyNameOrFunc, typeFuncOrOptions, options);
|
13 | }
|
14 | exports.ResolveProperty = ResolveProperty;
|