From e451dc98dbe3b152c7ed3ff6a88846dd303035ac Mon Sep 17 00:00:00 2001 From: David Leifker Date: Thu, 23 May 2024 12:25:16 -0500 Subject: [PATCH] fix(instropection): fix configuration application order --- .../java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java index 1fb01e9ed0d52..c20fc7fef6ef6 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java @@ -830,10 +830,10 @@ public GraphQLEngine.Builder builder() { builder .addDataLoaders(loaderSuppliers(loadableTypes)) .addDataLoader("Aspect", context -> createDataLoader(aspectType, context)) - .configureRuntimeWiring(this::configureRuntimeWiring) .setGraphQLQueryComplexityLimit(graphQLQueryComplexityLimit) .setGraphQLQueryDepthLimit(graphQLQueryDepthLimit) - .setGraphQLQueryIntrospectionEnabled(graphQLQueryIntrospectionEnabled); + .setGraphQLQueryIntrospectionEnabled(graphQLQueryIntrospectionEnabled) + .configureRuntimeWiring(this::configureRuntimeWiring); return builder; }