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

Add cleanup function to remove unnecessary fields from schemas #48

Open
miguelgrc opened this issue May 28, 2024 · 0 comments
Open

Add cleanup function to remove unnecessary fields from schemas #48

miguelgrc opened this issue May 28, 2024 · 0 comments
Labels
enhancement New feature or request needs refinement Needs to be refined before taking it

Comments

@miguelgrc
Copy link
Collaborator

Add a function to be run likely after every change in the schemas that removes unnecessary fields (i.e. fields with default values like "ui:label": true) so that we don't pollute the schemas with useless information. This can be done by iterating through the schemas in a smart and efficient way and check the jsonschema specification and/or a custom defaults object to discard those values that are unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs refinement Needs to be refined before taking it
Projects
None yet
Development

No branches or pull requests

1 participant