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

Kotlin support #412

Open
karesti opened this issue Jan 30, 2025 · 3 comments
Open

Kotlin support #412

karesti opened this issue Jan 30, 2025 · 3 comments

Comments

@karesti
Copy link
Contributor

karesti commented Jan 30, 2025

Provide or document Kotlin support for protostream

Related

quarkusio/quarkus#45823

@karesti
Copy link
Contributor Author

karesti commented Feb 3, 2025

Reproducer without Quarkus infinispan/infinispan-simple-tutorials#319

@karesti
Copy link
Contributor Author

karesti commented Feb 3, 2025

I think we should be able to do something like this:

@Proto
@JvmRecord
data class Person(val name: String, val age: Int)

@karesti
Copy link
Contributor Author

karesti commented Feb 4, 2025

Or like this:

@Proto
data class GreetingKotlin(@JvmField var name: String?=null,
                          @JvmField var greeting: String?=null)

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

No branches or pull requests

1 participant