From b5b79e3656c0ef3335955f422187c627aeb5c3e5 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Mon, 23 Aug 2021 20:22:21 +0300 Subject: [PATCH] types: make some fields optional as in spec --- helix-dap/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs index fde3cd80..2f1d3a31 100644 --- a/helix-dap/src/types.rs +++ b/helix-dap/src/types.rs @@ -634,14 +634,14 @@ pub mod events { pub name: String, pub system_process_id: Option, pub is_local_process: Option, - pub start_method: String, // TODO: use enum + pub start_method: Option, // TODO: use enum pub pointer_size: Option, } #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct Capabilities { - pub module: super::DebuggerCapabilities, + pub capabilities: super::DebuggerCapabilities, } // #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]