Miroslav Bajtoš
442d77fbb4
minor improvements
...
- fix jsdoc for getCurrentContext
- clean up getCurrentContext code
- clean up the new test
2017-02-24 10:22:58 +01:00
josieusa
10df0358a7
Add test for bad middleware chain use case
2017-02-23 09:39:34 +01:00
josieusa
47daf074f8
Simplify test using whenPromise.delay()
2017-01-11 15:31:05 +01:00
josieusa
7deb0a7fa1
Refactor without boolean args in test helper
2017-01-11 15:28:37 +01:00
josieusa
da2c6eeedc
Experiment 2 to reproduce bug on Travis CI
2017-01-11 15:02:05 +01:00
josieusa
2aabc83bdf
Experiment to reproduce bug on Travis CI
2017-01-11 14:56:57 +01:00
josieusa
04f25b6134
Fix typo
2017-01-11 10:14:40 +01:00
josieusa
69ac8fc4a6
Separate successful test from failing test
2017-01-11 10:08:58 +01:00
josieusa
cebcf5c30e
Clean up test
2017-01-10 17:20:10 +01:00
josieusa
24d6e3304b
Account for non-reproducibility of issue
2017-01-10 17:10:20 +01:00
josieusa
626b546258
Simplify failure test
2017-01-10 17:03:54 +01:00
josieusa
1c54dd264d
Refactor failure test
2017-01-10 17:00:24 +01:00
josieusa
fe42932cf8
Move bind section in README, remove bad test
2017-01-10 15:57:18 +01:00
josieusa
396869b1cf
Remove Proxy, add bind option, style
2017-01-10 09:56:31 +01:00
josieusa
1216ca4770
Use local stub module for multi-versions
2017-01-10 09:56:31 +01:00
josieusa
cec955c3b3
Workaround issue #17 with cujojs/when
2017-01-10 09:56:31 +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