@lark-apaas/fullstack-nestjs-core 1.0.4 → 1.0.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -334,7 +334,11 @@ var PlatformModule = class _PlatformModule {
334
334
  },
335
335
  {
336
336
  provide: import_core.APP_PIPE,
337
- useClass: import_common5.ValidationPipe
337
+ useFactory: /* @__PURE__ */ __name(() => {
338
+ return new import_common5.ValidationPipe({
339
+ transform: true
340
+ });
341
+ }, "useFactory")
338
342
  }
339
343
  ],
340
344
  exports: [
package/dist/index.js CHANGED
@@ -292,7 +292,11 @@ var PlatformModule = class _PlatformModule {
292
292
  },
293
293
  {
294
294
  provide: APP_PIPE,
295
- useClass: ValidationPipe
295
+ useFactory: /* @__PURE__ */ __name(() => {
296
+ return new ValidationPipe({
297
+ transform: true
298
+ });
299
+ }, "useFactory")
296
300
  }
297
301
  ],
298
302
  exports: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-nestjs-core",
3
- "version": "1.0.4",
3
+ "version": "1.0.5-alpha.0",
4
4
  "description": "FullStack Nestjs Core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",