Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow request ids to be strings #1929

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

Earlopain
Copy link
Contributor

Motivation

The LSP spec allows this: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#requestMessage

Addons that want to sent requests must provide an id but since the counter is internal to the server that is not easily possible at the moment.

See the conversation starting at Shopify/ruby-lsp-rails#326 (comment) for more context

The LSP spec allows this: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#requestMessage

Addons that want to sent requests must provide an id but since the
counter is internal to the server that is not easily possible at the moment.

See the conversation starting at Shopify/ruby-lsp-rails#326 (comment) for more context
@Earlopain Earlopain requested a review from a team as a code owner April 13, 2024 09:51
@Earlopain Earlopain requested review from andyw8 and st0012 April 13, 2024 09:51
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Apr 16, 2024
Copy link
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@vinistock vinistock merged commit add6922 into Shopify:main Apr 16, 2024
22 of 23 checks passed
@Earlopain Earlopain deleted the request-allow-request-id-string branch April 16, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants