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

Hello world with Buf examples, starting from Java #69

Open
edmondop opened this issue Oct 11, 2023 · 2 comments
Open

Hello world with Buf examples, starting from Java #69

edmondop opened this issue Oct 11, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@edmondop
Copy link

At the moment, the documentation contains a non-trivial example for Kotlin, which is a little counterintuitive. I propose the documentation offer "hello world"-style examples that only focus on the specific of setting up Connect in a specific language, leaving more advanced features and use cases in a separate section of the doc.

Also, since Java is still a popular language, and Kotlin is Java compatible, probably it would be great to have a "Getting started with Java" that mentions that the code generated is in Kotlin, and you need a certain setup, but you can use Connect when coding in Java

Reference: https://connectrpc.com/docs/kotlin/getting-started/

@akshayjshah
Copy link
Member

akshayjshah commented Oct 12, 2023

Hey @edmondop! We intended the Swift and Kotlin implementations to be primarily for mobile developers - that's why they're client-only. Eventually, we'd like to have a full Java implementation. (If you're interested, leave a response on https://github.com/orgs/connectrpc/discussions/11.)

All that said, we should provide a simpler example for server-side Java developers to get started with our Kotlin clients. It probably won't happen soon unless you'd like to open a PR 😉, but we'll get to this eventually!

@akshayjshah akshayjshah added the documentation Improvements or additions to documentation label Oct 12, 2023
@edmondop
Copy link
Author

edmondop commented Oct 30, 2023

I'll open myself a PR soon :) I would have liked to do this sooner but I was too busy:)

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

No branches or pull requests

2 participants