dataloader
Advanced tools
Changelog
2.2.2
e286f66
Thanks @henrinormak! - Added missing type definition for Dataloader.nameChangelog
2.2.0
588a8b6
Thanks @boopathi! - Fix the propagation of sync throws in the batch function to the loader function instead of crashing the process wtih an uncaught exception.3cd3a43
Thanks @thekevinbrown! - Resolves an issue where the maxBatchSize parameter wouldn't be fully used on each batch sent to the backend loader.Changelog
2.1.0
loader.load()
error message https://github.com/graphql/dataloader/commit/249b2b966a8807c50e07746ff04acb8c48fa4357setImmediate
. setImmediate || setTimeout
doesn't work and it throws setImmediate
is not defined in this case, so we should check setImmediate with typeof. And some environments like Cloudflare Workers don't allow you to set setTimeout directly to another variable. https://github.com/graphql/dataloader/commit/3e62fbe7d42b7ab1ec54818a1491cb0107dd828a