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

Support Protostream #18

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

karesti
Copy link
Contributor

@karesti karesti commented Dec 12, 2024

adds protostream marshalling

Closes #20

Closes #19

@karesti karesti requested a review from a team as a code owner December 12, 2024 09:18
@karesti karesti force-pushed the marshalling-example branch 4 times, most recently from 775304e to d09cbca Compare December 12, 2024 15:17
@karesti karesti changed the title example Support Protostream Dec 12, 2024
@karesti karesti force-pushed the marshalling-example branch 2 times, most recently from a5c5700 to db3c14a Compare December 13, 2024 10:41
@karesti karesti force-pushed the marshalling-example branch from db3c14a to e782df8 Compare December 13, 2024 11:06
@karesti karesti merged commit d2378e8 into quarkiverse:main Dec 13, 2024
1 check passed
@karesti karesti deleted the marshalling-example branch December 13, 2024 11:20
initializerClasses
.addAll(index.getAllKnownImplementors(DotName.createSimple(GeneratedSchema.class.getName())));
Set<String> initializers = new HashSet<>(initializerClasses.size());
for (ClassInfo ci : initializerClasses) {

Choose a reason for hiding this comment

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

Why do we need to load the class here? I'm not sure this will always work depending on the classpath (I could be wrong).

Can we not use public ServiceProviderBuildItem(String serviceInterfaceClassName, List<String> providers) which does not require a Class object?

Copy link
Contributor Author

@karesti karesti Dec 14, 2024

Choose a reason for hiding this comment

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

@ryanemerson This is the way it is done in the infinispan client to make it work. I don't know if what you mentions works, I will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support protostream in native Add code formatter
2 participants