cern-sis / cern-sis/react-formule

Add cleanup function to remove unnecessary fields from schemas

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
enhancement needs refinement priority:high
Dominant language
JavaScript
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.