Skip to content

Commit

Permalink
Update ExtensionConfigurations to generate for clients only (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Yuan authored Sep 6, 2023
1 parent 98a8e90 commit 6f6f6fe
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,14 +437,12 @@ public void customizeBeforeIntegrations(
LOGGER.fine("Generating " + target + " runtime configuration");
configGenerator.generate(target);
}
new ExtensionConfigurationGenerator(directive.model(), directive.service(), directive.symbolProvider(),
directive.context().writerDelegator(), directive.context().integrations()).generate();
new RuntimeExtensionsGenerator(directive.model(), directive.service(), directive.symbolProvider(),
directive.context().writerDelegator(), directive.context().integrations()).generate();
}

new ExtensionConfigurationGenerator(directive.model(), directive.service(), directive.symbolProvider(),
directive.context().writerDelegator(), directive.context().integrations()).generate();

new RuntimeExtensionsGenerator(directive.model(), directive.service(), directive.symbolProvider(),
directive.context().writerDelegator(), directive.context().integrations()).generate();

// Generate index for client.
BiConsumer<String, Consumer<TypeScriptWriter>> writerFactory =
directive.context().writerDelegator()::useFileWriter;
Expand Down

0 comments on commit 6f6f6fe

Please sign in to comment.