mercurius-js / cache

Adds an in-process caching layer to Mercurius. Federation is fully supported.
MIT License
106 stars 19 forks source link

Refactor error handling #76

Closed mcollina closed 2 years ago

mcollina commented 2 years ago

https://github.com/mercurius-js/cache/blob/3cebe49a0ce9a8ba613470bc85212851df684dd7/index.js#L139-L182 includes quite a few TODOs. In a few cases we are invoking the original resolver twice.

mcollina commented 2 years ago

cc @sameer-coder