You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem which I cannot find the answer to: As soon as I have a prelude Newtype used anywhere in a file, preludes === implicit kicks in and hides the === Operator defined in Slick that are used to lift ordinary values to a Rep[A].
I have not imported anything from prelude in the file, its enough that a parameter in a method is a Newtype.
but if I change projectId to be a object ProjectId extends zio.prelude.Newtype[UUID], the === operator is using the implicit in zio.prelude.EqualSyntax.EqualOps#===
Hi,
I have a problem which I cannot find the answer to: As soon as I have a prelude Newtype used anywhere in a file, preludes
===
implicit kicks in and hides the===
Operator defined in Slick that are used to lift ordinary values to a Rep[A].I have not imported anything from prelude in the file, its enough that a parameter in a method is a Newtype.
e.g. the code works, when "projectId" is a
UUID
:but if I change projectId to be a
object ProjectId extends zio.prelude.Newtype[UUID]
, the===
operator is using the implicit inzio.prelude.EqualSyntax.EqualOps#===
e.g. if the class looks like this:
Is there a way to disable this?
Thanks,
Dominik
The text was updated successfully, but these errors were encountered: