Skip to content

modifySchemaContent does not update the linter #1062

@microhobby

Description

@microhobby

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

  • Windows
  • Mac
  • Linux
  • other (please specify)
    ALL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions