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
Since you build the form and render it as well. How about there is one API for build Form or API based on Json Schema, so validation could be on client and server as well and validation will be declarative. Also there will be an API documentation for your API or Form.
Schema based: even if it is not mandatory we recommend to use JSON Schema to validate your routes and serialize your outputs, internally Fastify compiles the schema in a highly performant function.
This react-jsonschema-form takes json schema and render it as form, maybe use this as base line.
There will be automatic documentation, validation in client and server, and declarative way to creating forms, based on standard
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
-
Hello,
Since you build the form and render it as well. How about there is one API for build Form or API based on Json Schema, so validation could be on client and server as well and validation will be declarative. Also there will be an API documentation for your API or Form.
Checkout fastify
This react-jsonschema-form takes json schema and render it as form, maybe use this as base line.
There will be automatic documentation, validation in client and server, and declarative way to creating forms, based on standard
Also in Python
https://pydantic-docs.helpmanual.io/ with https://fastapi.tiangolo.com/ is a great example.
Beta Was this translation helpful? Give feedback.
All reactions