dataloader icon indicating copy to clipboard operation
dataloader copied to clipboard

Non-memory cache and close context

Open eaglemoor opened this issue 2 years ago • 0 comments

I found 2 problems in data loader.

  1. We can't use non-memory cache, because cache save lambda function.
  2. 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

eaglemoor avatar Apr 11 '23 09:04 eaglemoor