Commit bdb2934e authored by nanahira's avatar nanahira

add DataPipe

parent 30e85e55
......@@ -23,3 +23,9 @@ export const UpdatePipe = () =>
skipNullProperties: true,
skipUndefinedProperties: true,
});
export const DataPipe = () =>
new ValidationPipe({
transform: true,
transformOptions: { enableImplicitConversion: true },
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment