Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Mar 02:48
· 160 commits to main since this release
1658066

Patch Changes

  • #260 957493f Thanks @trevor-scheer! - Fix issue with KeyvAdapter where Keyv.getMany returns undefined,
    causing KeyvAdapter to violate the DataLoader contract.

    DataLoader always expects a Promise<Array<V>> having the same length
    as the keys that were given to it. This problem stems from a
    shortcoming of the Keyv typings, since it doesn't declare that a
    get([...keys]) can return a singular undefined (but it can in
    the case of errors / Store.getMany can return a singular undefined).