Skip to content

Commit

Permalink
Initialize graphql.util.IdGenerator at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Jul 11, 2024
1 parent 24326d0 commit 356bf55
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 356bf55

Please sign in to comment.