dataloader
dataloader copied to clipboard
feat(typings): allow to reference the loader instance in the batch function
Note: depends on https://github.com/graphql/dataloader/pull/287
Use case
I want to be able to use this.prime in batchLoadFn. Without these changes I have to specify this type of the callback manually.