rivet
rivet copied to clipboard
[Feature]: general form validation as part of Node descriptions
Feature Request
Can we add some kind of general form validation for inputs on Node properties. Things like URLs, input names, text prompts, etc. are used "as is" in the current setup.
When I say validation, I'm referring to tools like Joi Validation where the node description for the inputs would include a schema that can be used to give the user feedback.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Most node inputs are passed through the coercion system so don't need to be validated but yeah, makes sense for those that aren't. Joi looks good, I've also used refine and like it a lot, but it doesn't have fancy validators like email built in.