Open saihaj opened 2 years ago
Same question.
It fails to batch when there're other async functions around, more specifically, when using node-fetch
in the async functions.
import fetch from 'node-fetch';
import DataLoader from 'data-loader';
const normalAsyncFunction = () => fetch('www.test.url');
const myDataLoader = new DataLoader((keys) => keys);
const myFunc = () => {
await normalAsyncFunction(); // doesn't batch when this function is around
await myDataLoader.load(1);
}
Is there a reason why Facebook is no longer maintaining this repo anymore?
Is there a reason why Facebook is no longer maintaining this repo anymore?
@WillSquire GraphQL is now managed and maintained by the GraphQL Foundation. You can read more here: https://graphql.org/foundation/
Hello everyone!
We @the-guild-org are the new maintainers of this project. We investigated current state of this project, triaged all existing issues and PRs so we can address them. Here is our plan: before addressing issues and PRs there are some infra things we need to introduce that will help simplify management of this project and make it simpler to encourage new contributors.
[changeset](https://github.com/changesets/changesets)
for publishing to NPMReview feature requests and maybe implement them
If you have any suggestions or feedback let us know!