graphql / graphql/dataloader

[BUG] batchScheduleFn is always called even if value taken from cache

Open
#243 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
13.4k
Forks
518
Avg merge
2d 4h
Merged PRs (30d)
2

Description

## Expected Behavior
"batchScheduleFn" should not get called when value is taken from cache

## Current Behavior
"batchScheduleFn" is called always and delaying response

## Possible Solution
after checking if value is in cache - to ignore "batchScheduleFn"

## Steps to Reproduce
Console log in "batchScheduleFn", it is called always

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.