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
I am currently utilizing react-jsonschema-form for validating data that users submit through a form, which is then sent to my database via an API. While the form is the primary method for data entry, there are potential use cases where data might be sent directly to our API, bypassing the form. I would like to ensure that the same JSON validation applies to both data entry methods. Is it possible to make the @rjsf/validator-ajv8 available as a function that I could use to validate API requests directly? This would help maintain consistent data validation across different input methods.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently utilizing
react-jsonschema-form
for validating data that users submit through a form, which is then sent to my database via an API. While the form is the primary method for data entry, there are potential use cases where data might be sent directly to our API, bypassing the form. I would like to ensure that the same JSON validation applies to both data entry methods. Is it possible to make the @rjsf/validator-ajv8 available as a function that I could use to validate API requests directly? This would help maintain consistent data validation across different input methods.Beta Was this translation helpful? Give feedback.
All reactions