Skip to content

Commit

Permalink
Merge pull request #41831 from jmartisk/vertx-graphql-native
Browse files Browse the repository at this point in the history
Initialize graphql.util.IdGenerator at runtime
  • Loading branch information
gsmet authored Jul 11, 2024
2 parents 24326d0 + 356bf55 commit 8eb2489
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,9 @@ void registerVertxGraphqlUI(VertxGraphqlRecorder recorder, VertxGraphqlConfig co
private static boolean doNotIncludeVertxGraphqlUi(LaunchModeBuildItem launchMode, VertxGraphqlConfig config) {
return !launchMode.getLaunchMode().isDevOrTest() && !config.ui.alwaysInclude;
}

@BuildStep
void runtimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitializedClasses) {
runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem("graphql.util.IdGenerator"));
}
}

0 comments on commit 8eb2489

Please sign in to comment.