perf(server): compile zod schemas on first parse

This commit is contained in:
timonrieger
2026-09-26 16:28:51 +02:00
parent 8d486a1fd8
commit 6cd122f5e8
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
import 'zod/compile';
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { configureExpress, configureTelemetry } from 'src/app.common.js';
+1
View File
@@ -1,3 +1,4 @@
import 'zod/compile';
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { configureExpress, configureTelemetry } from 'src/app.common.js';
+1
View File
@@ -1,3 +1,4 @@
import 'zod/compile';
import { NestFactory } from '@nestjs/core';
import { isMainThread } from 'node:worker_threads';
import { MicroservicesModule } from 'src/app.module.js';