Skip to content

Commit ed32f13

Browse files
authored
feat: allow injection of context (#55)
1 parent ca4f277 commit ed32f13

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/prepare-options.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default class OptionsPreparatorService {
6060
if (!contextId) {
6161
contextId = ContextIdFactory.create();
6262
context[REQUEST_CONTEXT_ID] = contextId;
63+
this.moduleRef.registerRequestByContextId(context, contextId);
6364
}
6465
const providerMetadata = providersMetadataMap.get(cls)!;
6566
if (

0 commit comments

Comments
 (0)