eclipse-lsp4j / lsp4j

A Java implementation of the language server protocol intended to be consumed by tools and language servers implemented in Java.
https://eclipse.org/lsp4j
Other
599 stars 143 forks source link

Wrap primitive and array parameter into an array as in JSON-RPC 2.0 #718

Closed dhuebner closed 1 year ago

dhuebner commented 1 year ago

The counter part off my previous PR handling the unwrapping of primitiv and array parameter types as described in JSON-RPC 2.0.

Added more tests with different parameter types that hopefully makes clear what in wrapped/unwrapped.

See also: #553