-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`[email protected]` has a special logic for handling generic request handlers as well as special logic when sending messages. The new signature is `(method, params, token)` when handling any request from a `MessageConnection`. When using `sendRequest/Notification` there is logic that tries to determine which JSON-RPC regime to use: by name or by position params. See https://www.jsonrpc.org/specification#parameter_structures We can use a `ParameterStructures` enum to force `vscode-jsonrpc` to use a specific mode over the other.
- Loading branch information
1 parent
1b1261d
commit ccf894b
Showing
1 changed file
with
66 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters