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

Scala3 migration guide #219

Open
bwbecker opened this issue Jun 20, 2022 · 5 comments
Open

Scala3 migration guide #219

bwbecker opened this issue Jun 20, 2022 · 5 comments

Comments

@bwbecker
Copy link

I'm trying to migrate a project which uses ficus to Scala3. I'm getting a compile-time error:

[error] -- [E008] Not Found Error: /Users/bwbecker/uw/cs135/scala/lintR/src/main/scala/cs135/config/Config.scala:9:33 
[error] 9 |import net.ceedubs.ficus.readers.ArbitraryTypeReader._
[error]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]   |value ArbitraryTypeReader is not a member of net.ceedubs.ficus.readers, but could be made available as an extension method.

I see that ficus/src/main/scala-3/net/ceedubs/ficus/readers/ArbitraryTypeReader.scala is only four lines long, one of which is //TODO. So I'm guessing that ficus isn't really ready for Scala3 even though there is a Scala3 release on Maven.

Can someone confirm or provide guidance on how to proceed?

@kailuowang
Copy link
Member

This lib is no longer actively maintained. The easiest way might be helping the project migrating away from focus to another replacement lib.

@bwbecker
Copy link
Author

Thanks for the head's up. I wondered, but didn't see anything to that effect so was still hopeful.

@bwbecker
Copy link
Author

Do you have any recommendations for alternatives? A quick look through Scaladex suggests

@kailuowang
Copy link
Member

I use pureconfig

@bwbecker
Copy link
Author

Thanks!

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

2 participants