Commit Graph

7 Commits

Author SHA1 Message Date
Agnes Lin 391d9eb2ad chore: update copyrights years 2019-05-07 14:03:34 -04:00
Miroslav Bajtoš ea61dfdb3a
Upgrade dependecies, fix new linter errors 2018-06-29 17:17:16 +02:00
Emiliano Daddario d5f977fc4a Add bind option to getCurrentContext()
Add bind:true option to getCurrentContext

Workaround issue #17 with cujojs/when v3.7.7 due to the fact
that it internally uses a mechanism of user-land queuing for
async-related operations, and possibly issues with similar
packages using queuing (mostly Promise libraries)
2017-02-24 11:54:34 +01:00
josieusa 996a49f7da Drop continuation-local-storage, use cls-hooked
Rework the module to use the new cls-hooked module (which uses AsyncWrap
available since Node v4.5) instead of old continuation-local-storage
(based on very unreliable async-listener).
2017-01-03 13:12:28 +01:00
Miroslav Bajtoš 28e99e5e2c API cleanup
Rename "per-request-context" middleware to shorter "per-request".

Introduce "LoopBackContext.perRequest" as a shortcut for way too long
  "loopback-context/server/middlewar/per-request"
2016-08-01 15:23:19 +02:00
Miroslav Bajtoš 867a7c3616 Rename to loopback-context/LoopBackContext 2016-07-29 09:36:34 +02:00
Miroslav Bajtoš 9bd4afbe7e Initial implementation 2016-07-29 09:17:04 +02:00