Skip to content

ConstructorInjectionStatement

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/domain/model / ConstructorInjectionStatement

Defined in: generator/domain/model.ts:376

Declaration of a constructor parameter marked for DI (constructor(private readonly x: X)). Consumed by the constructorInjection helper in code-gen.

className: string

Defined in: generator/domain/model.ts:378

Type name / class used as the parameter type.


optional readonly?: boolean

Defined in: generator/domain/model.ts:379


scope: "private" | "protected" | "public"

Defined in: generator/domain/model.ts:380


variableName: string

Defined in: generator/domain/model.ts:382

Identifier the parameter binds to.