-
Notifications
You must be signed in to change notification settings - Fork 12
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
wip zio module changes #82
Conversation
@@ -41,9 +41,9 @@ addCommandAlias("fmt", "scalafmtAll") | |||
val testcontainersVersion = "0.41.4" | |||
val circeVersion = "0.14.10" | |||
|
|||
lazy val root = project | |||
lazy val magnumRoot = project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if the root
name isn't necessary for sbt to understand that it's your root module 🤔
|
||
import scala.util.control.NoStackTrace | ||
|
||
private class Break[E](val value: E) extends NoStackTrace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private class Break[E](val value: E) extends NoStackTrace | |
private final class Break[E](val value: E) extends NoStackTrace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, why not use ControlThrowable
here?
* repo.findById(id) | ||
* }}} | ||
*/ | ||
def connectIO[E: ClassTag, A](q: DbCon ?=> A)(using Trace): IO[E, A] = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ClassTag
might become annoying for the user at the use-site.
No description provided.