Skip to content

fix(lsp): preserve request result wire contracts - #2025

Open
rgrinberg wants to merge 1 commit into
masterfrom
push-nuxqnyopuzvo
Open

fix(lsp): preserve request result wire contracts#2025
rgrinberg wants to merge 1 commit into
masterfrom
push-nuxqnyopuzvo

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Aligns typed request results with their LSP wire contracts.

Definition, declaration, type-definition, and implementation preserve singular locations instead of normalizing them into arrays. Workspace symbols accept both SymbolInformation[] and the newer WorkspaceSymbol[] shape, while signature help, selection ranges, and rename retain protocol nullability.

The lossy handwritten Locations wrapper is removed in favor of request-specific result types, and server handlers and the baseline snapshots from #2014 are updated accordingly.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant