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

Support definitions and references ($ref) in JSON Schema validation #436

Open
1 task done
sukeshpabolu opened this issue May 27, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@sukeshpabolu
Copy link

sukeshpabolu commented May 27, 2024

  • 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

@sukeshpabolu sukeshpabolu added the bug Something isn't working label May 27, 2024
@ciscoheat ciscoheat added help wanted Extra attention is needed documentation Improvements or additions to documentation labels May 29, 2024
@ciscoheat
Copy link
Owner

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.

@ciscoheat ciscoheat removed the documentation Improvements or additions to documentation label Aug 14, 2024
@ciscoheat ciscoheat changed the title Unexpected bug during schema validation (jsonschema schemasafe adapter) Support definitions and references ($ref) in JSON Schema validation Aug 14, 2024
@ciscoheat ciscoheat added this to the v3 milestone Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants