glsl-language-server
glsl-language-server copied to clipboard
Error replies dont include the method identifier
That makes it hard for the client to handle overlapping asynchronous calls since it can't match the error reply with the method call.
For example, if I made an erroneous call to get symbols, I'd get a reply back like:
{
"error": {
"code": -32601,
"message": "Method 'textDocument/documentSymbol' not supported."
},
"jsonrpc": "2.0"
}
but I can't use that to pass the message/error to the right async caller since I can't locate it in my "id" to "method-call" hash.