java-dataloader icon indicating copy to clipboard operation
java-dataloader copied to clipboard

A Java 8 port of Facebook DataLoader

Results 19 java-dataloader issues
Sort by recently updated
recently updated
newest added

This PR may be related to #54 The goal of this PR is to support composition of data loader invocations. - when using 'thenCompose' method to chain data loader calls,...

Hi, I have a datafetcher where I use 2 dataloaders in sequence: the first to translate from 1 ID to another, the second to fetch data corresponding to the second...

keep-open

Taken from https://github.com/graphql-java/graphql-java/issues/1403 > MappedBatchLoader is a great addition to the data loading architecture. Sadly, we can't use it in many cases. Frequently we data load lists like so: ```...

> I am using GraphQL Java 8.0, which uses Dataloader 2.0.2 . I have experienced it lot of times that dataloader caches the exceptions returned from the batchload function. After...

I noticed that many of the source files in this repository are dual-licensed (on the other hand, many files do not have any copyrights declaration): ```java /* * Copyright (c)...

**Describe the bug** The default policy when using ScheduledDispatchRegistry is DISPATCH_ALWAYS. However, when a dispatch predicate is set for a data loader, the shouldDispatch method should return false if the...

Related to https://github.com/graphql-java/java-dataloader/pull/135, I noticed that the executor isn't shut down, so if it's used, would leak the single core thread. Since JDK 9 the default keepalive timeout is 10ms,...

According to javadoc: > This class is usually preferable to [AtomicLong](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicLong.html) when multiple threads update a common sum that is used for purposes such as collecting statistics, not for fine-grained...

This branch can be used to hold the common changes from #148 and future work once this works is complete enough on this branch, then it can be targetted to...

**Describe the bug** I am new to this library. When learning this library, I found that the object type returned by `DataLoaderFactory.newDataLoaderWithTry().dispatcher()` is inconsistent with the specified generic type. **To...