You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
we are using novu with a nestjs service, and have multiple classes already defined with class-validator for validation and dont use zod right now. Would it be possible to add support for class-validator for schema definition instead of zod?
🎤 Why is this feature needed ?
NestJs and multiple other services are using this lib already for validation and it would help quite alot to just reuse existing classes within the workflow definitions.
✌️ How do you aim to achieve this?
We dont know for certain if there are any technical limitations, but if not it would be great if both libraries could be used as input.
🔖 Feature description
Hi there,
we are using novu with a nestjs service, and have multiple classes already defined with class-validator for validation and dont use zod right now. Would it be possible to add support for class-validator for schema definition instead of zod?
🎤 Why is this feature needed ?
NestJs and multiple other services are using this lib already for validation and it would help quite alot to just reuse existing classes within the workflow definitions.
✌️ How do you aim to achieve this?
We dont know for certain if there are any technical limitations, but if not it would be great if both libraries could be used as input.
🔄️ Additional Information
class-validator to json schema: https://www.npmjs.com/package/class-validator-jsonschema
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: