docs: add Kotlin and Scala examples for JVM language support#162
Open
ivanauth wants to merge 1 commit intoauthzed:mainfrom
Open
docs: add Kotlin and Scala examples for JVM language support#162ivanauth wants to merge 1 commit intoauthzed:mainfrom
ivanauth wants to merge 1 commit intoauthzed:mainfrom
Conversation
138cf28 to
66c930e
Compare
Closes authzed#11 Added example code demonstrating how to use the Authzed Java client library from Kotlin and Scala, making it easier for developers in those ecosystems to integrate SpiceDB. The examples show idiomatic usage patterns for each language while using the same underlying Java client library. Changes: - Add Kotlin example (examples/kotlin/CallingCheck.kt) with concise syntax and better null safety - Add Scala example (examples/scala/CallingCheck.scala) with functional programming patterns using Try and Option monads - Add comprehensive README (examples/README.md) documenting installation and usage for Java, Kotlin, and Scala with build tool configurations - Fix unused import in Scala example - Make dependency instructions consistent for grpc-netty-shaded across all build tools - Add Eclipse IDE files to .gitignore Signed-off-by: ivanauth <ivan@authzed.com>
66c930e to
0944d5a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Kotlin and Scala examples demonstrating how to use the Authzed Java client library from other JVM languages.
Changes
examples/kotlin/CallingCheck.kt) with idiomatic syntaxexamples/scala/CallingCheck.scala) with functional programming patternsexamples/README.md) with installation instructions for Maven, Gradle, and SBT.gitignoreCloses #11