krislefeber / nestjs-dataloader

Dataloader plugin for NestJS
https://krislefeber.github.io/nestjs-dataloader/
MIT License
148 stars 45 forks source link

@Loader decorator broken with new NestJS release (v7) #16

Closed kylejreed closed 4 years ago

kylejreed commented 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 });

babbarankit commented 4 years ago

@kylejreed Thanks 👍

jakeblaxon commented 4 years ago

Any followup with this?

brianschardt commented 4 years ago

Any updates on this?