Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Validation #68

Open
ismaelocaramelo opened this issue Jun 16, 2021 · 1 comment
Open

Schema Validation #68

ismaelocaramelo opened this issue Jun 16, 2021 · 1 comment
Assignees

Comments

@ismaelocaramelo
Copy link
Contributor

Summary
To use the form builder it receives a JSON file. The issue becomes when it's not well formatted.

Intended Outcome
An error output when the JSON is not correct built

How
Apply schema validation with Joi or other schema validation library to make sure it's correct. That's a sanity operation.

@kuhlaid
Copy link

kuhlaid commented Nov 17, 2021

Hi @ismaelocaramelo, is this necessary? It is the responsibility of app developers to provide the form builder with valid JSON objects that are formatted to function with the forms. If this package tried to correct all the mistakes of developers then this package size would be huge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Q2 2021 - Jun - August
Development

No branches or pull requests

3 participants