Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ShopifyNet.Tests/ShopifyClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ public async Task QueryWithAliases()
var response = await _client.ExecuteAsync(request);
//response.data is JsonElement
var myProducts = response.data.Value.GetProperty("myProducts")
.Deserialize<ProductConnection>(Serializer.Options);
.Deserialize<ProductConnection>(Serializer.GetOptions());
var myOrders = response.data.Value.GetProperty("myOrders")
.Deserialize<OrderConnection>(Serializer.Options);
.Deserialize<OrderConnection>(Serializer.GetOptions());
Assert.IsNotNull(myProducts.nodes.FirstOrDefault()?.title);
Assert.IsNotNull(myOrders.nodes.FirstOrDefault()?.name);
}
Expand Down
4 changes: 2 additions & 2 deletions ShopifyNet.Tests/TokenBucket/TokenBucketInterceptorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private Dictionary<string, JsonElement> CreateExtensionsWithCost(Cost cost)
{
return new Dictionary<string, JsonElement>
{
{ "cost", JsonSerializer.SerializeToElement(cost, Serializer.Options) }
{ "cost", JsonSerializer.SerializeToElement(cost, Serializer.GetOptions()) }
};
}

Expand All @@ -83,7 +83,7 @@ private GraphQLResponse CreateGraphQLResponse(Cost cost = null, string error = n
message = error,
extensions = !throttled ? new () : new ()
{
{ "code", JsonSerializer.SerializeToElement("THROTTLED", Serializer.Options) }
{ "code", JsonSerializer.SerializeToElement("THROTTLED", Serializer.GetOptions()) }
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion ShopifyNet.TypeGenerator/ShopifyNet.TypeGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GraphQLSharp" Version="2.19.0" />
<PackageReference Include="GraphQLSharp" Version="2.21.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion ShopifyNet/ShopifyNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GraphQLSharp" Version="2.19.0" />
<PackageReference Include="GraphQLSharp" Version="2.21.0" />
Comment thread
matnun-br marked this conversation as resolved.
</ItemGroup>

</Project>
Loading