context_server: Make notifications type safe (#32396)
Follow up to #32254 Release Notes: - N/A
This commit is contained in:
parent
3853e83da7
commit
6801b9137f
7 changed files with 67 additions and 43 deletions
|
@ -14,7 +14,7 @@ pub fn create_fake_transport(
|
|||
executor: BackgroundExecutor,
|
||||
) -> FakeTransport {
|
||||
let name = name.into();
|
||||
FakeTransport::new(executor).on_request::<crate::types::request::Initialize>(move |_params| {
|
||||
FakeTransport::new(executor).on_request::<crate::types::requests::Initialize>(move |_params| {
|
||||
create_initialize_response(name.clone())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue