Skip to content

Commit

Permalink
allow custom codegen generator be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMario committed Feb 5, 2024
1 parent 25cc058 commit d0db2bc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public ClientOptInput toClientOptInput() {
setVerboseFlags();
setSystemProperties();

CodegenConfig config = CodegenConfigLoader.forName(lang);
CodegenConfig config = loadCodegenConfig();
ClientOptInput input = new ClientOptInput();

Predicate<URL> urlMatcher = null;
Expand Down Expand Up @@ -669,6 +669,10 @@ public ClientOptInput toClientOptInput() {
return input;
}

protected CodegenConfig loadCodegenConfig() {
return CodegenConfigLoader.forName(lang);
}

private ParseOptions buildParseOptions() {
ParseOptions options = new ParseOptions();
options.setResolve(true);
Expand Down

0 comments on commit d0db2bc

Please sign in to comment.