Currently, given a JSON Schema not supported by json-schema-form, the error message is hard to understand and trace back to where the problem originates from.
Solution
Evaluate a JSON Schema structure before trying to parse it, to spot and warn about invalid types.
Problem
Currently, given a JSON Schema not supported by
json-schema-form
, the error message is hard to understand and trace back to where the problem originates from.Solution
Evaluate a JSON Schema structure before trying to parse it, to spot and warn about invalid types.
For example, in this https://github.com/remoteoss/json-schema-form/issues/21 , the error should be:
Investigate the possibility of using TypeScript, Zod, or any other typing tool for this type check.