vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

modifySchemaContent does not update the linter

Open microhobby opened this issue 1 year ago • 0 comments

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

  1. YAML file using an enum value that is not valid
  2. call modifySchemaContent and add the value
  3. Check that the value is still not valid

Environment

  • [x] Windows
  • [x] Mac
  • [x] Linux
  • [x] other (please specify) ALL

microhobby avatar Oct 13 '24 21:10 microhobby