@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 +5 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
295
|
+
useFactory: /* @__PURE__ */ __name(() => {
|
|
296
|
+
return new ValidationPipe({
|
|
297
|
+
transform: true
|
|
298
|
+
});
|
|
299
|
+
}, "useFactory")
|
|
296
300
|
}
|
|
297
301
|
],
|
|
298
302
|
exports: [
|