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

Opt in auto derivation #1967

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Opt in auto derivation #1967

merged 4 commits into from
Dec 20, 2023

Conversation

jatcwang
Copy link
Collaborator

@jatcwang jatcwang commented Dec 19, 2023

Resurrected #1738 thanks to @guymers

guymers and others added 3 commits August 31, 2022 20:30
`Read` and `Write` instances are now only auto-derived if
`doobie.implicits.*` or `doobie.generic.auto.*` are imported. Instances
can be manually defined by using the `derived` method on the companion
objects.
# Conflicts:
#	modules/core/src/main/scala-3/util/ReadPlatform.scala
#	modules/core/src/main/scala-3/util/WritePlatform.scala
#	modules/core/src/main/scala/doobie/util/write.scala
#	modules/core/src/test/scala-2/doobie/util/ReadSuitePlatform.scala
#	modules/core/src/test/scala-2/doobie/util/WriteSuitePlatform.scala
#	modules/core/src/test/scala/doobie/util/GetSuite.scala
#	modules/core/src/test/scala/doobie/util/LogSuite.scala
#	modules/core/src/test/scala/doobie/util/meta/MetaSuite.scala
#	modules/munit/src/test/scala/doobie/munit/CheckerTests.scala
@jatcwang jatcwang merged commit 8b9058b into main Dec 20, 2023
12 checks passed
@jatcwang jatcwang deleted the opt_in_derivation branch December 20, 2023 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants