property DiPluginOptions.autoRegister

When true, resolving a token not registered in the container automatically falls back to the kernel's ServiceRegistry. The first successful fallback is cached as a singleton so subsequent resolves are fast. Explicit DI registrations always take precedence. Defaults to false.

Type

boolean

Usage

import { type DiPluginOptions } from "di-plugin/src/index.ts";