Skip to content

Commit

Permalink
add OutputCachePolicy to GetHashCode
Browse files Browse the repository at this point in the history
  • Loading branch information
witskeeper committed Nov 17, 2023
1 parent c2be19c commit 0d8193b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ReverseProxy/Configuration/RouteConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public override int GetHashCode()
hash.Add(AuthorizationPolicy?.GetHashCode(StringComparison.OrdinalIgnoreCase));
#if NET7_0_OR_GREATER
hash.Add(RateLimiterPolicy?.GetHashCode(StringComparison.OrdinalIgnoreCase));
hash.Add(OutputCachePolicy?.GetHashCode(StringComparison.OrdinalIgnoreCase));
#endif
#if NET8_0_OR_GREATER
hash.Add(Timeout?.GetHashCode());
Expand Down

0 comments on commit 0d8193b

Please sign in to comment.