-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Description
Is there an existing issue that is already proposing this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe it
Schema validation can only be done using Joi or using a custom validation function.
Describe the solution you'd like
I suggest supporting Standard Schema to be able to use any validation library without the need pass a custom validation function.
Teachability, documentation, adoption, migration strategy
We could add a new property standardValidationSchema for example.
Note: I opened a PR in Joi so it would support this new property. Only drawback is we won't be able to pass custom options.
What is the motivation / use case for changing the behavior?
Allow to use the same schema in all the app without being forced to use Joi.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels