dataloader
dataloader copied to clipboard
Non-memory cache and close context
I found 2 problems in data loader.
- We can't use non-memory cache, because cache save lambda function.
- If user close context, batchFunc return error, and this error will be used in cache for all batch keys.
I fix it with DataCache interface and detachContext. PR https://github.com/graph-gophers/dataloader/pull/104