dataloader icon indicating copy to clipboard operation
dataloader copied to clipboard

Implementation of Facebook's DataLoader in Golang

Results 27 dataloader issues
Sort by recently updated
recently updated
newest added

@mjq discovered an issue with a unit test while fixing an incorrect CI configuration in #73: > I can reproduce this failure, but only rarely - on my laptop, the...

Hi! I ran into #63 while using this library, so I took a pass at fixing it. Happy to make updates if you have any suggestions or concerns re: style...

```golang ctx, finish := b.tracer.TraceBatch(originalContext, keys) defer finish(items) // this should be moved func() { defer func() { if r := recover(); r != nil { panicErr = r if...

We have two modules, one is the order and the other is the sub order. When querying the order list, you don't need to worry about the "n + 1"...

finish is called without any item

Add a `Flush()` method to the `dataloader.Interface` that if called will immediately fetch the outstanding batch without waiting for the timer. Should let us lower the latency in situations where...

When a batch is triggered by hitting the batch capacity, the timer is no longer needed and the resources associated with it can be released.

The usability of v7 has greatly improved due to its support for generics, but there may be users who don't notice this due to insufficient documentation. In this change, I...

Why is it that the return type is *Load[K,V], which is a struct, even though the *Load[K,V] type serves as the default for Interface[K,V]? I tried to do a pull...

Hello all, I receive a panic when using the loader with the NoCache option. The same code works fine with InMemoryCache passed or by default. Anyone managed to make the...