Skip to content

Interface: ApplicationOptions

Defined in: packages/core/src/core/application.factory.ts:24

Properties

PropertyTypeDescriptionDefined in
gen?boolean | GenOptionsAuto-run nestelia-gen before the application starts. Pass true to use defaults, or an object to configure output path / tsconfig. Example const app = await createElysiaApplication(AppModule, { gen: true }); const app = await createElysiaApplication(AppModule, { gen: { output: "src/schema.ts" } });packages/core/src/core/application.factory.ts:37
logger?| false | LoggerService | ("error" | "verbose" | "debug" | "log" | "warn" | "fatal")[]Override the default logger. Pass false to disable logging entirely, or an array of LogLevel to filter.packages/core/src/core/application.factory.ts:26

Released under the MIT License.