We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can't suggest object correctly with certain schema definition.
Schema used in the demo:
{ "$schema": "http://json-schema.org/draft-07/schema", "type":"object", "oneOf": [ { "additionalProperties": false, "properties": { "A" : { "type":"string" } }, "required": [ "A" ] }, { "additionalProperties": false, "properties": { "B" : { "type":"string" } }, "required": [ "B" ] } ] }
It should suggest A and B while the yaml is empty as version yaml-language-server 0.23.0 does.
It only suggest A when yaml-language-server 1.9.1 installed
Not only in empty file. It will not suggest all possible objects at some child node position with the schema provided .
The text was updated successfully, but these errors were encountered:
msivasubramaniaan
Successfully merging a pull request may close this issue.
Describe the bug
Can't suggest object correctly with certain schema definition.
Schema used in the demo:
Expected Behavior
It should suggest A and B while the yaml is empty as version yaml-language-server 0.23.0 does.
Current Behavior
It only suggest A when yaml-language-server 1.9.1 installed
Not only in empty file. It will not suggest all possible objects at some child node position with the schema provided .
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: