Skip to content

Commit 470a1b0

Browse files
committed
- Updated all references to v11 to now reference v11+ in code, comments, and readme (including some class names) for consistency; non-breaking changes as long as custom extensions for proper initialization is used.
- Fixed project organization folder naming for the StarWars-AzureFunctions project.
1 parent ba9cb5d commit 470a1b0

30 files changed

+6
-6
lines changed

GraphQL.AzureFunctionsProxy/GraphQLAzureFunctionsExecutorProxyV11.cs renamed to GraphQL.AzureFunctionsProxy/GraphQLAzureFunctionsExecutorProxyV11Plus.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ namespace HotChocolate.AzureFunctionsProxy
1818
///This class that provides a proxy between Azure Functions and the existing HotChocolate Http middleware
1919
/// for both GET & POST request processing.
2020
/// </summary>
21-
public class GraphQLAzureFunctionsExecutorProxyV11 : IGraphQLAzureFunctionsExecutorProxy
21+
public class GraphQLAzureFunctionsExecutorProxyV11Plus : IGraphQLAzureFunctionsExecutorProxy
2222
{
2323
protected GraphQLAzureFunctionsMiddlewareProxy AzureFunctionsMiddlewareProxy { get; }
2424

25-
public GraphQLAzureFunctionsExecutorProxyV11(
25+
public GraphQLAzureFunctionsExecutorProxyV11Plus(
2626
IRequestExecutorResolver graphQLExecutorResolver,
2727
IHttpResultSerializer graphQLResultSerializer,
2828
IHttpRequestParser graphQLRequestParser,

PureCodeFirst-AzureFunctions-v11/Startup.cs renamed to StarWars-AzureFunctions/Startup.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ public override void Configure(IFunctionsHostBuilder builder)
2828
services.AddSingleton<IReviewRepository, ReviewRepository>();
2929

3030
// Add GraphQL Services
31-
//Updated to Initialize StarWars with new v11 configuration...
31+
//Updated to Initialize StarWars with new v11+ configuration...
3232
services
3333
.AddGraphQLServer()
3434
.AddQueryType(d => d.Name("Query"))
3535
.AddMutationType(d => d.Name("Mutation"))
36-
//Disabled Subscriptions for v11 and Azure Functions Example due to
36+
//Disabled Subscriptions for v11+ and Azure Functions Example due to
3737
// supportability in Serverless architecture...
3838
//.AddSubscriptionType(d => d.Name("Subscription"))
3939
.AddType<CharacterQueries>()
4040
.AddType<ReviewQueries>()
4141
.AddType<ReviewMutations>()
42-
//Disabled Subscriptions for v11 and Azure Functions Example due to
42+
//Disabled Subscriptions for v11+ and Azure Functions Example due to
4343
// supportability in Serverless architecture...
4444
//.AddType<ReviewSubscriptions>()
4545
.AddType<Human>()
4646
.AddType<Droid>()
4747
.AddType<Starship>()
48-
//Now Required in v11 to support the Attribute Usage (e.g. you may see the
48+
//Now Required in v11+ to support the Attribute Usage (e.g. you may see the
4949
// error: No filter convention found for scope `none`
5050
.AddFiltering()
5151
.AddSorting();

0 commit comments

Comments
 (0)