Skip to content

Support custom values for enums.#106

Merged
karthiknadig merged 3 commits into
microsoft:mainfrom
karthiknadig:update-lsp
Oct 29, 2022
Merged

Support custom values for enums.#106
karthiknadig merged 3 commits into
microsoft:mainfrom
karthiknadig:update-lsp

Conversation

@karthiknadig
Copy link
Copy Markdown
Member

Fixes #101

In this PR we relax the type validation on some enums. The LSP spec allows custom values, here we detect the type of the custom value and relax the validation on those properties.

@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Oct 28, 2022
@karthiknadig karthiknadig self-assigned this Oct 28, 2022
eleanorjboyd
eleanorjboyd previously approved these changes Oct 28, 2022
@karthiknadig karthiknadig marked this pull request as ready for review October 28, 2022 23:25
@karthiknadig karthiknadig merged commit 73197a1 into microsoft:main Oct 29, 2022
@karthiknadig karthiknadig deleted the update-lsp branch October 29, 2022 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lsprotocol is too strict when parsing CodeActionKind?

2 participants