refactor: Add routing_approach other variant to handle unknown data (#8754)

This commit is contained in:
Sarthak Soni
2025-07-28 12:59:13 +05:30
committed by GitHub
parent 7667ec1ca9
commit 7682cd445e
28 changed files with 59 additions and 29 deletions

View File

@ -274,7 +274,10 @@ impl Hash for PaymentMetricsBucketIdentifier {
self.card_last_4.hash(state);
self.card_issuer.hash(state);
self.error_reason.hash(state);
self.routing_approach.map(|i| i.to_string()).hash(state);
self.routing_approach
.clone()
.map(|i| i.to_string())
.hash(state);
self.time_bucket.hash(state);
}
}