Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/loopbackio/loopback-next
/ context
Function
context
packages/context/src/inject.ts:395–397 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
393
* ```
394
*/
395
export
const
context =
function
injectContext() {
396
return
inject(
''
, {decorator:
'@inject.context'
}, (ctx: Context) => ctx);
397
};
398
}
399
400
/**
Callers
15
build-schema.integration.ts
File · 0.85
build-schema.unit.ts
File · 0.85
application.acceptance.ts
File · 0.85
repository.mixin.unit.ts
File · 0.85
legacy-juggler-bridge.unit.ts
File · 0.85
relation.repository.unit.ts
File · 0.85
constraint-utils.unit.ts
File · 0.85
mongo-related-helpers.unit.ts
File · 0.85
include-related-models.unit.ts
File · 0.85
resolve-has-many-through-metadata.unit.ts
File · 0.85
context.unit.ts
File · 0.85
tagged-bindings.acceptance.ts
File · 0.85
Calls
1
inject
Function · 0.85
Tested by
no test coverage detected