We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b405d commit 2fa2931Copy full SHA for 2fa2931
src/Features/GraphQL/Configuration/GraphQLConfiguration.cs
@@ -49,6 +49,7 @@ public static IServiceCollection AddGraphQLServices(this IServiceCollection serv
49
50
// Configure GraphQL Server with built-in tools
51
var graphqlBuilder = services.AddGraphQLServer()
52
+ // To enable query complexity analysis, add the UseComplexity middleware here if supported by your HotChocolate version.
53
// Add query, mutation, and subscription types
54
.AddQueryType<Query>()
55
.AddMutationType<Mutation>()
0 commit comments