Skip to content

Commit 6bdfcfa

Browse files
committed
Updates to Readme and root files not pushed with last commit.
1 parent 470a1b0 commit 6bdfcfa

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## files generated by popular Visual Studio add-ons.
33

44
# Azure Functions localsettings file
5-
local.settings.json
5+
#local.settings.json
66

77
# User-specific files
88
*.suo

GraphQL.AzureFunctionsProxy.Tests/AzureFunctions/HelloWorldFunctionsStartup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public override void Configure(IFunctionsHostBuilder builder)
2222
var services = builder.Services;
2323

2424
// Add GraphQL Services
25-
//Updated to Initialize StarWars with new v11 configuration...
25+
//Updated to Initialize StarWars with v11+ configuration...
2626
services
2727
.AddGraphQLServer()
2828
.AddQueryType(d => d.Name("Query"))

GraphQL.AzureFunctionsProxy.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.30611.23
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StarWars-AzureFunctions", "PureCodeFirst-AzureFunctions-v11\StarWars-AzureFunctions.csproj", "{91E18C69-CD87-4305-B241-1DD04DB118F8}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StarWars-AzureFunctions", "StarWars-AzureFunctions\StarWars-AzureFunctions.csproj", "{91E18C69-CD87-4305-B241-1DD04DB118F8}"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GraphQL.AzureFunctionsProxy", "GraphQL.AzureFunctionsProxy\GraphQL.AzureFunctionsProxy.csproj", "{EADE1DA0-404D-4504-86FD-B32BF70AF88F}"
99
EndProject

GraphQL.AzureFunctionsProxy/GraphQL.AzureFunctionsProxy.csproj

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<Version>12.0.0.1</Version>
5+
<Version>12.0.0.2</Version>
66
<Authors>BBernard / CajunCoding</Authors>
77
<Company>CajunCoding</Company>
88
<Description>This is a extension package for HotChocolate GraphQL framework to enable execution within AzureFunctions V1 using the new v12 API. Provides very easy integration with Azure Functions with maximum support for out-of-the-box HotChocolate functionality.</Description>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
<PackageProjectUrl>https://github.com/cajuncoding/HotChocolate.AzureFunctionsProxy</PackageProjectUrl>
1111
<RepositoryUrl>https://github.com/cajuncoding/HotChocolate.AzureFunctionsProxy</RepositoryUrl>
1212
<PackageTags>graphql, graph-ql, hotchocolate, azure, functions, serverless</PackageTags>
13-
<PackageReleaseNotes>- Fully updated for new Hot Chocolate v12 released today (09/28/2021) with no significant breaking changes.
13+
<PackageReleaseNotes>- Updated all references to v11 in code, comments, and readme (including some class names) to now reference v11+ for consistency; non-breaking changes as long as custom extensions for proper initialization is used.
14+
15+
v12.0.0 Release Notes:
16+
- Fully updated for new Hot Chocolate v12 released today (09/28/2021) with no significant breaking changes.
1417
- Corrected GraphQL IDE naming to now be "Banana Cake Pop" instead of incorrrectly calling it "Playground" (the old IDE).
1518
- Original option EnablePlaygroundWebApp is now deprecated as obsolete and will be removed in a future release; use EnableBananaCakePop instead.
1619
- Default route is now /graphql/bcp/ instead of /graphql/playground.

GraphQL.AzureFunctionsProxy/GraphQLAzureFunctionsMiddlewareExtensions.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public static IServiceCollection AddAzureFunctionsGraphQL(this IServiceCollectio
3737
)
3838
{
3939
//serviceCollection.AddAzureFunctionsGraphQL(new AzureFunctionsMiddlewareOptions());
40-
serviceCollection.AddSingleton<IGraphQLAzureFunctionsExecutorProxy, GraphQLAzureFunctionsExecutorProxyV11>(
41-
provider => new GraphQLAzureFunctionsExecutorProxyV11(
40+
serviceCollection.AddSingleton<IGraphQLAzureFunctionsExecutorProxy, GraphQLAzureFunctionsExecutorProxyV11Plus>(
41+
provider => new GraphQLAzureFunctionsExecutorProxyV11Plus(
4242
provider.GetService<IRequestExecutorResolver>(),
4343
provider.GetService<IHttpResultSerializer>(),
4444
provider.GetService<IHttpRequestParser>(),

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
# GraphQL.AzureFunctionsProxy
2-
## An (Unofficial) Extension pack for using HotChocolate GraphQL framework within Azure Functions for v11.
2+
## An (Unofficial) Extension pack for using HotChocolate GraphQL framework within Azure Functions for v11 & v12.
33

44
**Update Notes:**
5+
- Updated for HotChocolate v12 support!
6+
- Enhanced StarWars Demo for testing/validating with v12 for additional manual tests.
7+
- With this major update, I'm now correctly calling the GraphQL IDE "Banana Cake Pop" instead of "Playground" (which is the Old IDE).
8+
- GraphQL IDE naming is now updated consistently to be called BananaCakePop (new IDE from v11) in code, comments, and Readme; updated Readme sample code also.
9+
- Deprecated as obsolete the old EnablePlaygroundWebApp option which will be removed in future release; but remains in place and supported at this time for easier upgrade/transition of projects using the AzureFunctionsProxy.
10+
11+
12+
Prior Release Notes:
513
- Added support for ?SDL download of the Schema (?SDL)
614
- Added support for Functioning GraphQL IDE *(Banana Cake Pop)* (when configured correctly iin the AzureFunction HttpTrigger route binding & new path option).
715
- Reduced the number of awaits used in the Middleware proxy for performance.
816
- Maintained compatibility with v11.0.4.
9-
10-
Prior Release Notes:
1117
- Added ConfigureAwait(false) to all awaits for performance.
1218
- Bumped to HC v11.0.4
1319
- Updated to HC v11.0.1.1 due to critical fixes in HC v11.0.1 that resolve an issue in HC core that had broken Interfaces (which impacted the accompanying Star Wars Demo)

0 commit comments

Comments
 (0)