Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enable codegen with new annotation #373

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

pvlugter
Copy link
Member

Refs #235. Allow the new codegen annotation to be used (just missing extension registration). There are no tests for this yet, but currently trying it out in updated quickstarts.

@github-actions github-actions bot added javascript-sdk kalix-runtime Runtime and SDKs sub-team labels Jun 28, 2022
@@ -42,6 +42,7 @@ object DescriptorSet {
Using[FileInputStream, Either[CannotOpen, Iterable[Either[ReadFailure, Descriptors.FileDescriptor]]]](
new FileInputStream(file)) { fis =>
val registry = ExtensionRegistry.newInstance()
registry.add(kalix.Annotations.codegen)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was just missing this registration. Model building already added.

@johanandren johanandren merged commit fb14ae6 into lightbend:main Jun 28, 2022
@pvlugter pvlugter deleted the codegen-annotation branch June 29, 2022 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript-sdk kalix-runtime Runtime and SDKs sub-team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants