From 83d7842e94c456c683267c88a0576c62ab50918d Mon Sep 17 00:00:00 2001 From: Kelrap Date: Fri, 14 Jun 2024 11:38:58 -0400 Subject: [PATCH] More specific cache calculation --- lib/pangea/repo/span_data_repo.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/pangea/repo/span_data_repo.dart b/lib/pangea/repo/span_data_repo.dart index a60f2c4e2..7a4b378e1 100644 --- a/lib/pangea/repo/span_data_repo.dart +++ b/lib/pangea/repo/span_data_repo.dart @@ -85,6 +85,11 @@ class SpanDetailsRepoReqAndRes { if (other.enableIT != enableIT) return false; if (other.enableIGC != enableIGC) return false; if (other.span.message != span.message) return false; + // if (other.span.shortMessage != span.shortMessage) return false; + if (other.span.offset != span.offset) return false; + if (other.span.length != span.length) return false; + if (other.span.fullText != span.fullText) return false; + // if (other.span.type != span.type) return false; // if (other.span.context != span.context) return false; return true; } @@ -99,6 +104,11 @@ class SpanDetailsRepoReqAndRes { enableIT.hashCode, enableIGC.hashCode, span.message.hashCode, + // span.shortMessage.hashCode, + span.offset.hashCode, + span.length.hashCode, + span.fullText.hashCode, + // span.type.hashCode, // span.context.hashCode, ]); }