sveltekit-superforms
sveltekit-superforms copied to clipboard
Support definitions and references ($ref) in JSON Schema validation
- [x] Before posting an issue, read the FAQ and search the previous issues.
Description Facing an exception while validating data with simple json schema. If applicable, a MRE minimal reproduction
This is because definitions and references ($ref properties in the JSON Schema) aren't supported by Superforms. The JSON Schema part needs to be rewritten for this to work. The workaround for now is to resolve the references yourself before using a JSON Schema with the schemasafe adapter.