vscode-yaml
vscode-yaml copied to clipboard
modifySchemaContent does not update the linter
Describe the bug
When using the modifySchemaContent it update the schema but does not validate the file with the new values added to the schema.
Expected Behavior
When calling the modifySchemaContent the linter squiggles should update validating the new values.
Current Behavior
The linter continues with the squiggles even though the values are valid.
Steps to Reproduce
- YAML file using an enum value that is not valid
- call modifySchemaContent and add the value
- Check that the value is still not valid
Environment
- [x] Windows
- [x] Mac
- [x] Linux
- [x] other (please specify) ALL