-
Notifications
You must be signed in to change notification settings - Fork 219
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
[BUG] If blocks don't evaluate properties correctly #393
Comments
I just narrowed down odd behavior to the same issue. In my case I use a pattern that begins with
to select definitions based on a |
Should be fixed with redhat-developer/yaml-language-server#357 |
Many thanks for such a fast turnaround! How/when will the update from the language server be picked up by this extension? |
I start release process, I hope to finish in a few hours. |
Signed-off-by: Yevhen Vydolob <[email protected]>
…snippet-without-array-symbol fix codeCompletion with defaultSnippet and makdown
Describe the bug
Unless I'm being super stupid - conditional matching does not work in
"if"
blocks - all conditions seem to be ignored and theelse
block always executes.Expected Behavior
If an
"if"
's condition evaluates to true, it should match thethen
schemaCurrent Behavior
The
else
schema is always evaluated.Steps to Reproduce
var
is quite clearly a string type.Although this is using JSON - the data is a YAML to JSON conversion - the schema holds true and requires
pineapple
here https://jsonschema.dev/s/PaRXaEnvironment
The text was updated successfully, but these errors were encountered: