-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Properly handle oneOfs in schemas #57
Comments
I think that this not only gives merged autocomplete result but also results in fails in validation: VSCode extension:
or CLI:
|
Yes, schemas probably need an overhaul along with #136 as well. |
I would like to use |
For example this trick: https://gist.github.com/Profpatsch/af40fc52f51cc94796e05bf7fed395ed doesn’t lead to helpful error messages when used. |
Currently all oneOfs are merged for autocompletion, instead only the relevant ones should be shown to the user.
The text was updated successfully, but these errors were encountered: