Skip to content

Commit e9ba79a

Browse files
committed
Add FIXME comment
1 parent a335e2b commit e9ba79a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/middleware/per-request.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function perRequestContextFactory(options) {
3535
var oldGetCurrentContext = LoopBackContext.getCurrentContext;
3636
LoopBackContext.getCurrentContext = function() {
3737
var context = oldGetCurrentContext();
38+
// FIXME here all context fields get lost except for 'get' and 'set'
3839
return context ? {
3940
get: context.bind(context.get).bind(context),
4041
set: context.bind(context.set).bind(context),

0 commit comments

Comments
 (0)