rust/crates/rust-analyzer
Aleksey Kladov 3b9548e163 Respond with JSON-RPC error if we failed to deserialize request
Historically, we intentinally violated JSON-RPC spec here by hard
crashing. The idea was to poke both the clients and servers to fix
stuff.

However, this is confusing for server implementors, and falls down in
one important place -- protocol extension are not always backwards
compatible, which causes crashes simply due to version mismatch. We
had once such case with our own extension, and one for semantic
tokens.

So let's be less adventerous and just err on the err side!
2020-10-30 19:57:52 +01:00
..
src Respond with JSON-RPC error if we failed to deserialize request 2020-10-30 19:57:52 +01:00
tests/rust-analyzer Fix failing test 2020-10-02 12:35:25 +03:00
build.rs Fix fmt 2020-06-19 02:25:07 +08:00
Cargo.toml Latest proposed LSP 3.16.0 2020-10-26 09:23:34 -04:00