cache: scope response entries by operation version

This commit is contained in:
a.tolmachev
2026-05-04 07:45:04 +00:00
parent 50b1e5ea13
commit 6cec445b4f
6 changed files with 34 additions and 4 deletions
+2
View File
@@ -9,6 +9,7 @@ use serde_json::Value;
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct RuntimeOperation {
pub operation_id: OperationId,
pub operation_version: u32,
pub tool_name: String,
pub protocol: Protocol,
pub target: Target,
@@ -24,6 +25,7 @@ impl From<Operation<Schema, MappingSet>> for RuntimeOperation {
fn from(value: Operation<Schema, MappingSet>) -> Self {
Self {
operation_id: value.id,
operation_version: value.version,
tool_name: value.name,
protocol: value.protocol,
target: value.target,