Deprecate extensions methods for Set and SetK #84
Conversation
840247a
to
4b1904a
Compare
ReplaceWith( | ||
"At<SetK<A>, A, Boolean>", | ||
"arrow.optics.typeclasses.At", "arrow.core.SetK"), | ||
DeprecationLevel.WARNING) | ||
interface SetKAt<A> : At<SetK<A>, A, Boolean> { |
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.
☝️
Wondering the reason we can get rid of these interfaces now. Is it because we do not need @extension any longer?
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.
They're public so users might be using them directly.
4b1904a
to
20a975f
Compare
Align with team decision to move all instances creation to the typeclass companion object. Deprecate top level method used to obtain the instances before. Replace usages in optics module.
20a975f
to
b60c64d
Compare
b60c64d
to
558d058
Compare
arrow-optics/src/main/kotlin/arrow/optics/extensions/setk/at/SetKAt.kt
Outdated
Show resolved
Hide resolved
@franciscodr thanks for the suggestions, all changes have been applied 🥳 |
Thanks @Tylos! |
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.
Looks good. Think there is a copy-paste mistake in the message.
Thanks @Tylos! |
Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
@nomisRev you are right, pasted twice than I copied 😅 |
No description provided.