Skip to content

Commit 5fe5674

Browse files
committed
Moved and changed GraphQLRequest
1 parent 14f7100 commit 5fe5674

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/GraphQL.Primitives/GraphQLRequest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public class GraphQLRequest : IEquatable<GraphQLRequest?> {
3131
/// <param name="other">The object to compare with this instance</param>
3232
/// <returns>true if obj is an instance of <see cref="GraphQLRequest"/> and equals the value of the instance; otherwise, false</returns>
3333
public bool Equals(GraphQLRequest? other) {
34-
if (other == null) { return false; }
35-
if (ReferenceEquals(this, other)) { return true; }
36-
if (!EqualityComparer<string>.Default.Equals(this.Query, other.Query)) { return false; }
37-
if (!EqualityComparer<string?>.Default.Equals(this.OperationName, other.OperationName)) { return false; }
38-
return true;
39-
}
34+
if (other == null) { return false; }
35+
if (ReferenceEquals(this, other)) { return true; }
36+
if (!EqualityComparer<string>.Default.Equals(this.Query, other.Query)) { return false; }
37+
if (!EqualityComparer<string?>.Default.Equals(this.OperationName, other.OperationName)) { return false; }
38+
return true;
39+
}
4040

4141
/// <summary>
4242
/// <inheritdoc cref="Object.GetHashCode"/>

0 commit comments

Comments
 (0)