nicosommi / tpipe

Experimental piper for services
Other
2 stars 1 forks source link

Reduce on error should allow immutability #15

Open nicosommi opened 7 years ago

nicosommi commented 7 years ago

When adding error mappings that returns a brand new object to be the new "output", the closure lost the reference to the new object.

The problem is between error mappings and finally mappings for example. More information: eslint no-param-reassign rule