-
Notifications
You must be signed in to change notification settings - Fork 162
Description
I am trying to create an LSP server in C#. I have come across the LspTypes package that defines all the types of LSP 3.16. Slightly strange that there is no more up to date package for this, but that's a side note, I suppose (suggestions welcome).
Now the issue is, when I define for instance the Initialize
method as InitializeResult Initialize(InitializeParams @params)
, I get an error saying that the client provided eight arguments while the method can only accept a single. How can I specify that the parameter denotes the entire request and the library should instead bundle all of the eight parameters into a single InitializeParams
?
I tried setting UseSingleObjectParameterDeserialization = true
but it does not seem to work, I still get the error message that the method only accepts a single argument but 8 were provided.
I am using StreamJsonRPC version 2.19.27.