fullfacing / keycloak4s

Keycloak4s is a Scala client for the Keycloak Admin API
MIT License
66 stars 14 forks source link

Scala 3 support #560

Open jenwirth opened 1 year ago

jenwirth commented 1 year ago

Hi,

I was wondering if anyone has used this library in a scala 3 project. I'm currently migrating a project from akka/scala2 to http4s/scala3. The original project uses "org.keycloak" % "keycloak-core". Porting that using the many java dependencies is a mess, so i was considering rewriting the API calls using the http4s ember client. I was in the process of copying some of the model classes over from this project.

However I would rather use this project instead. I am however not able to use it so far inside my Scala 3 project ("Conflicting cross-version suffixes…" on cats, cats effect and enumeratum ) when trying to use CrossVersion.for3Use2_13.

What's the current status/view on Scala 3 support?

tx.,

StuartJ45 commented 1 year ago

Hi, I have not looked into Scala 3 compatibility yet for this project, but I will look into this in the coming week and try to get a Scala 3 supported version published

StuartJ45 commented 1 year ago

Hi @jenwirth, You can try the "com.fullfacing" %% "keycloak4s-admin-ce3" % "3.2.1" module. I have updated all the dependency versions, including cats, which contains a fix for an issue with CrossVersion.for3Use2_13