Skip to content

Commit 3c29847

Browse files
committed
Bump HC to v11.0.7 and re-test to ensure there are no issues.
1 parent dbc6dd6 commit 3c29847

5 files changed

Lines changed: 7 additions & 23 deletions

File tree

GraphQL.AzureFunctionsProxy.Tests/GraphQL.AzureFunctionsProxy.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.4" />
11-
<PackageReference Include="HotChocolate.Data" Version="11.0.4" />
10+
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.7" />
11+
<PackageReference Include="HotChocolate.Data" Version="11.0.7" />
1212
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
1313
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
1414
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Http" Version="3.0.2" />

GraphQL.AzureFunctionsProxy.Tests/GraphQLAzureFuncProxyHelloWorldTests.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
using System;
2-
using System.IO;
32
using System.Linq;
4-
using System.Text;
53
using System.Threading;
64
using System.Threading.Tasks;
7-
using Functions.Tests;
85
using GraphQL.AzureFunctionsProxy.Tests.AzureFunctionsTestFramework;
9-
using GraphQL.AzureFunctionsProxy.Tests.GraphQL;
10-
using HotChocolate.AspNetCore.Serialization;
11-
using HotChocolate.AzureFunctionsProxy;
12-
using HotChocolate.Execution;
13-
using Microsoft.AspNetCore;
14-
using Microsoft.AspNetCore.Hosting;
15-
using Microsoft.AspNetCore.Http;
16-
using Microsoft.AspNetCore.Http.Features;
17-
using Microsoft.AspNetCore.Mvc;
18-
using Microsoft.Extensions.DependencyInjection;
19-
using Microsoft.Extensions.Hosting;
20-
using Microsoft.Extensions.Logging;
216
using Microsoft.VisualStudio.TestTools.UnitTesting;
22-
using Newtonsoft.Json;
237
using Newtonsoft.Json.Linq;
248
using StarWars.AzureFunctions;
259

GraphQL.AzureFunctionsProxy/GraphQL.AzureFunctionsProxy.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Prior Releases Notes:
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.4" />
32-
<PackageReference Include="HotChocolate.Data" Version="11.0.4" />
31+
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.7" />
32+
<PackageReference Include="HotChocolate.Data" Version="11.0.7" />
3333
</ItemGroup>
3434

3535
</Project>

PureCodeFirst-AzureFunctions-v11/StarWars-AzureFunctions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<RootNamespace>StarWars_AzureFunctions</RootNamespace>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.4" />
9-
<PackageReference Include="HotChocolate.Data" Version="11.0.4" />
8+
<PackageReference Include="HotChocolate.AspNetCore" Version="11.0.7" />
9+
<PackageReference Include="HotChocolate.Data" Version="11.0.7" />
1010
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
1111
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.11" />
1212
</ItemGroup>

PureCodeFirst-AzureFunctions-v11/StarWarsFunctionEndpoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public StarWarsFunctionEndpoint(IGraphQLAzureFunctionsExecutorProxy graphqlExecu
2828

2929
[FunctionName(nameof(StarWarsFunctionEndpoint))]
3030
public async Task<IActionResult> Run(
31-
[HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = "graphql")] HttpRequest req,
31+
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = "graphql")] HttpRequest req,
3232
ILogger logger,
3333
CancellationToken cancellationToken
3434
)

0 commit comments

Comments
 (0)