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

Support doobie 1.0.0-RC7 #141

Open
kolemannix opened this issue Sep 24, 2024 · 5 comments
Open

Support doobie 1.0.0-RC7 #141

kolemannix opened this issue Sep 24, 2024 · 5 comments

Comments

@kolemannix
Copy link

Tracking issue for Doobie rc6 support

@kolemannix
Copy link
Author

Looks like we should wait for RC7: typelevel/doobie#2104

@oyvindberg
Copy link
Owner

Not sure we need to do anything? Typo skips all the auto-derive issues with Doobie by reimplementing the macros. As long as you inline implicits as well, even the implicits machinery is skipped

@kolemannix
Copy link
Author

If there are no other changes, then I guess not! I wasn't sure if the improvements to the underlying jdbc type stuff (vendor column type name on Get/Put) had an impact on what typo is doing, or could now do.

Also unsure if its binary-compatible with the previous release candidate

@jatcwang
Copy link

jatcwang commented Oct 8, 2024

Hi I didn't know typo integrates with doobie 😄
I'd recommend upgrading directly to RC7 when it's ready, since there are major issues with RC6 derivation when mixing derivation and explicit instances.
RC7 isn't binary compatible with RC6, which itself isn't bin compat with previous RC releases.

@oyvindberg
Copy link
Owner

@jatcwang try it out when you have the chance! it makes for a fantastic story where you can get all the trivial stuff generated and guaranteed to be correct, while still being free to write code like you always have done.

I'll hold off for a while then. when RC7 is ready, typo will need a version bump for the DSL at least if it's not binary compatible. and take of any source-level breakage.

@kolemannix kolemannix changed the title Support doobie 1.0.0-RC6 Support doobie ~1.0.0-RC6~ 1.0.0-RC7 Dec 11, 2024
@kolemannix kolemannix changed the title Support doobie ~1.0.0-RC6~ 1.0.0-RC7 Support doobie 1.0.0-RC7 Dec 11, 2024
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

3 participants