Skip to content

Commit

Permalink
fix(graphl): fix introspection setting (datahub-project#10560)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored and sleeperdeep committed Jun 25, 2024
1 parent a6c2561 commit 57c628f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
public class GraphQLQueryConfiguration {
private int complexityLimit;
private int depthLimit;
private boolean introspectionEnabled;
}
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ protected GraphQLEngine graphQLEngine(
args.setDataProductService(dataProductService);
args.setGraphQLQueryComplexityLimit(
configProvider.getGraphQL().getQuery().getComplexityLimit());
args.setGraphQLQueryIntrospectionEnabled(
configProvider.getGraphQL().getQuery().isIntrospectionEnabled());
args.setGraphQLQueryDepthLimit(configProvider.getGraphQL().getQuery().getDepthLimit());
args.setBusinessAttributeService(businessAttributeService);
args.setConnectionService(_connectionService);
Expand Down

0 comments on commit 57c628f

Please sign in to comment.