lteacher / lambda-chain

Promisify and chain lambda handler functions
MIT License
1 stars 1 forks source link

hooks are always global #9

Closed xiaofan2406 closed 4 years ago

xiaofan2406 commented 4 years ago

https://github.com/lteacher/lambda-chain/blob/6428640bb8558bf5197f1cb1da56c609a21e170a/lib/handler-factory.js#L124-L154

isGlobal is not set to false when register is called with a keyed object, resulting duplicated calls of hooks for every handler.