-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Description
Describe the bug
Quick fix not working when the object type is number/integer


property "severity" is defined as type "number" and "statusCode" is defined as "integer"
Attaching schema for reference
Expected Behavior
Quick fix options should be visible
Current Behavior
Quickfix options are not rendering
Steps to Reproduce
- Create a new yaml.file
- Use inline schema test.json, attached
- Autocomplete yaml and add severity/ statusCode field with invalid value
- Try quickfix code action
Environment
- Windows
- Mac
- Linux
Additional info
Checked the code in yamlCodeActions.ts

CodeAction title is expected to be a string always. Wrapping with String() for title resolves the issue
Metadata
Metadata
Assignees
Labels
No labels