We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4bcd9c commit a727000Copy full SHA for a727000
src/GraphQL.Primitives/GraphQLRequest.cs
@@ -1,5 +1,6 @@
1
using System;
2
using System.Collections.Generic;
3
+using System.Linq;
4
using System.Runtime.Serialization;
5
6
namespace GraphQL {
@@ -64,7 +65,7 @@ public override bool Equals(object? obj) {
64
65
public virtual bool Equals(GraphQLRequest? other) {
66
if (ReferenceEquals(null, other)) return false;
67
if (ReferenceEquals(this, other)) return true;
- return EqualityComparer<Dictionary<string,object>>.Default.Equals(this, other);
68
+ return this.Count == other.Count && !this.Except(other).Any();
69
}
70
71
/// <summary>
0 commit comments