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

Add support for Scala 3 #12180

Open
5 tasks
lukaseder opened this issue Jul 14, 2021 · 7 comments
Open
5 tasks

Add support for Scala 3 #12180

lukaseder opened this issue Jul 14, 2021 · 7 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Jul 14, 2021

Our Scala extension library does not yet formally support Scala 3, nor does our ScalaGenerator. This task is to collect changes in both cases:

Known issues:

Once implemented, the jOOQ Open Source Edition will require at least Scala 3 to work.

@eltherion
Copy link

@lukaseder Any chance to have support for Scala 3.x by the end of this year? It is a highly anticipated feature as Scala 3.0 has been released over 2 years ago. 🙏

@lukaseder
Copy link
Member Author

@eltherion I cannot make any promises as this probably amounts to quite a big project, especially the code generation parts.

What are you looking for, specifically? As far as I understand, jOOQ just works out of the box with Scala 3 as well, so you probably have any specific ideas?

@eltherion
Copy link

@lukaseder I meant jooq-scala artifact. It's available only for Scala 2.13.
obraz

@lukaseder
Copy link
Member Author

Yes, that'll be part of this task. I don't see offering an upgrade to this scala extensions library as an independent task (e.g. supporting Scala 3 only in the extensions library but not in the code generator doesn't make sense).

Is there anything missing from that library to make it work for Scala 3? Anything specific that doesn't work (anymore), currently? Keeping in mind that this extensions library is just a bunch of implicit class and implicit def utilities, so it's completely optional.

@eltherion
Copy link

Hmm, in this case I think no, thank you for the answer! 🙏

@lukaseder
Copy link
Member Author

Thanks for the feedback. Just in case, if something in vanilla jOOQ (without extensions) doesn't work well in Scala 3, you can always create separate bug reports. We can fix bugs before officially supporting Scala 3 in the extensions and code generator.

@lukaseder
Copy link
Member Author

As discussed in the comments here:

Scala 3 is really such a moving target with tons of compiler regressions and incompatible changes that I can't really commit to any Scala 3 strategy right now. There's always the JavaGenerator for the pragmatic folks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants