MCPcopy
hub / github.com/nestjs/nest / attachRootInquirer

Method attachRootInquirer

packages/core/injector/instance-wrapper.ts:454–460  ·  view source on GitHub ↗
(inquirer: InstanceWrapper)

Source from the content-addressed store, hash-verified

452 }
453
454 public attachRootInquirer(inquirer: InstanceWrapper) {
455 if (!this.isTransient) {
456 // Only attach root inquirer if the instance wrapper is transient
457 return;
458 }
459 this.rootInquirer = inquirer.getRootInquirer() ?? inquirer;
460 }
461
462 getRootInquirer(): InstanceWrapper | undefined {
463 return this.rootInquirer;

Callers 1

resolveParamMethod · 0.80

Calls 1

getRootInquirerMethod · 0.80

Tested by

no test coverage detected