-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
$ref in subschemas #1286
Comments
No solution yet but, it seems the problem is the recursive nature of the Using the example provided in the issue description, the reference However, the reference The proposed workaround should add the nested schema to the parent, but in my case |
Before you open an issue, please check if a similar one already exists or has been closed before. Detailed information about the process of contributing can be found in CONTRIBUTING.md.
Let us know what is happening. Do provide us with:
versions:
"uniforms": "^4.0.0-alpha.5",
"uniforms-bridge-json-schema": "^4.0.0-alpha.5",
"ajv": "^8.0.0",
run on chrome, React v 16.14
I have 2 schemas that are combined in a final one:
subschema1:
subschema 2:
final schema:
When this is loaded into the jonschemabridge, I hit the problem that
dateDef
is not resolved. In the jsonschemabridge he is looking for thedateDef
definition in the parent schema, not in the subschema (subSchema2) and hence throwing an error. Is there a way for the bridge to look up the definition in the subschema?current workaround:
thanks for the support!
The text was updated successfully, but these errors were encountered: