fix: remove batched json rpc support (#408)

* fix: remove batched json rpc  support

* fix(test): fix schema
This commit is contained in:
4t145 2025-09-03 14:13:55 +08:00 • committed by GitHub
commit f381c2b899
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,24 +172,6 @@ where
.extensions_mut()
.insert(value);
}
JsonRpcMessage::BatchRequest(json_rpc_batch_request_items) => {
for item in json_rpc_batch_request_items {
match item {
super::JsonRpcBatchRequestItem::Request(json_rpc_request) => {
json_rpc_request
.request
.extensions_mut()
.insert(value.clone());
}
super::JsonRpcBatchRequestItem::Notification(json_rpc_notification) => {
json_rpc_notification
.notification
.extensions_mut()
.insert(value.clone());
}
}
}
}
_ => {}
}
}