Skip to content

Commit a5793a5

Browse files
committed
fixup! 8948d
Show how to configure enableHttpContext
1 parent caecee2 commit a5793a5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@ HTTP request, configure `per-context` middleware in your
8383
need to set `enableHttpContext` to true to enable automatic population
8484
of req/res objects.**
8585

86+
```json
87+
{
88+
"initial": {
89+
"loopback-context#per-request": {
90+
"params": {
91+
"enableHttpContext": true
92+
}
93+
}
94+
}
95+
}
96+
```
97+
8698
### Use the current context
8799

88100
Once you’ve enabled context propagation, you can access the current context

0 commit comments

Comments
 (0)