ocadotechnology / pass4s

Pass4s is a Scala library providing an abstract layer for cross app messaging.
https://ocadotechnology.github.io/pass4s/
Apache License 2.0
45 stars 9 forks source link

Scala 3 Support #501

Open BusyByte opened 2 months ago

BusyByte commented 2 months ago

I was hoping to look into using this project however our app is using Scala and I don't see a Scala 3 release on Maven Central. Are there plans to add support?

NOTE: I also emailed opensource@ocado.com and it was returned which is listed on your github landing page.

BusyByte commented 2 months ago

@matwojcik I see you have a recent commit merged to main, do you have any ideas?

BusyByte commented 2 months ago

Also @majk-p same question ^^ ?

majk-p commented 2 months ago

Hey @BusyByte!

Unfortunately neither myself nor @matwojcik work on this project anymore. I no longer have access rights to approve anything in this repository as well. Pinging people who should still be able to help @TomRegan @zstoychev @paul-sweetman-ocado

When it comes to Scala 3 support, as far as I remember the last blocker was cats-tagless missing for Scala 3 for FunctorK instances. I think it has been released with at least partial support for Scala 3 in the meantime so technically this should be doable

BusyByte commented 2 months ago

I took a look at it and there is no Scala 3 version for akka-stream-alpakka-jms and the newer versions that do are under a different license so I think you'll have to drop support in favor of pekko or figure out how to not release it for Scala 3. I also had issues with all the reflection typeOf usage and couldn't figure it out in Scala 3. I gave up though and reverted all the changes I had for my fork.