-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
Description
Describe the bug
I have a json schema for autocompletion and validation of yaml files.
Some optional boolean properties may only be true if present.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "my-schema",
"type": "object",
"properties": {
"prop": {
"const": true,
"type": "boolean"
}
}
}prop: trueSince today it shows the file as invalid if such a property is present, the error message is "Value must be true."
There is a quickfix available with no label but it does not change anything when you select it.
Plugin version is 1.18.0
Expected Behavior
No validation error.
Current Behavior
Shows correct file as invalid.
Steps to Reproduce
see above.
Environment
- Windows
- Mac
- Linux
- other (please specify)
vscode 1.99.3
windows 11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done