Configuration

Root Module

Configure the entry point of your dependency graph.

Root Module

The rootModule option defines the graph entry point. This is the module from which all dependency resolution begins.

rootModule?: Type;

Typically, this is your application's main AppModule. However, because Nest Graph Inspector uses ConfigurableModuleBuilder, you usually don't need to specify this option. The module where you import NestGraphInspectorModule.forRoot() will automatically be inferred as the rootModule.

Nest Graph Inspector · MIT License · © 2026