oliyh / superlifter

A DataLoader for Clojure/script
Eclipse Public License 1.0
178 stars 12 forks source link

Resolve rejections to lacina promises #22

Closed thumbnail closed 3 years ago

thumbnail commented 3 years ago

previously only successful promises were resolved, resulting in an infinite block in lacinia. Exceptions are now passed through the promesa promise into the lacinia promise, which is supported by lacinia.

This caused an issue in our setup where exceptions were lost, and workers were blocking on rejected promesa promises.

oliyh commented 3 years ago

This is great, thank you!