Closed kylejreed closed 4 years ago
The method signature for "createParamDecorator" changed in the new release of NestJS. I believe it should now be:
export const Loader = createParamDecorator((data: string, ctx: ExecutionContext) => { const context = GqlExecutionContext.create(ctx).getContext() //rest of functionality using this context });
@kylejreed Thanks 👍
Any followup with this?
Any updates on this?
The method signature for "createParamDecorator" changed in the new release of NestJS. I believe it should now be:
export const Loader = createParamDecorator((data: string, ctx: ExecutionContext) => { const context = GqlExecutionContext.create(ctx).getContext() //rest of functionality using this context });