Skip to content

Commit 840da16

Browse files
committed
make copy constructor more specific
1 parent 151e733 commit 840da16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphQL.Primitives/GraphQLRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public GraphQLRequest(string query, object? variables = null, string? operationN
4949
OperationName = operationName;
5050
}
5151

52-
public GraphQLRequest(IEnumerable<KeyValuePair<string, object>> values)
52+
public GraphQLRequest(GraphQLRequest other)
5353
{
54-
foreach(var kv in values)
54+
foreach(var kv in other)
5555
{
5656
Add(kv.Key, kv.Value);
5757
}

0 commit comments

Comments
 (0)