-
Notifications
You must be signed in to change notification settings - Fork 71
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
Fix refined newtypes #1595
Fix refined newtypes #1595
Conversation
@@ -202,9 +202,14 @@ private[smithy4s] trait LowPriorityImplicits { | |||
: RefinementProvider[Pattern, E, E] = | |||
new RefinementProvider.PatternConstraint[E](e => e.value) | |||
|
|||
implicit def isomorphismConstraint[C, A, A0](implicit | |||
@deprecated("Use isomorphismConstraint2 instead", "0.18.25") |
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.
thought: for bincompat, we have to keep the old method.
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 tried to make it private[smithy4s]
but MiMa complained about the static forwarder disappearing. Figured I'd restore the method to the public scope, it doesn't hurt if it's not implicit anymore.
Closes #1594.
PR Checklist (not all items are relevant to all PRs)