optics-dev / Monocle

Optics library for Scala
https://www.optics.dev/Monocle/
MIT License
1.65k stars 205 forks source link

Scalafix rules for Monocle 3 #1001

Open julien-truffaut opened 3 years ago

julien-truffaut commented 3 years ago

Monocle 3 deprecates lots of methods, it would be great to use scalafix to automatically refactor the ones that have replacements. Here is a list of changes:

Shortcuts for popular optics

Overloaded compose method

Remove symbolic compose operators

ApplyOptics

Reference: https://github.com/fthomas/scala-steward/blob/master/docs/scalafix-migrations.md

Originally proposed in https://github.com/optics-dev/Monocle/issues/684

chaitanyawaikar commented 3 years ago

Do we have a list of scalafix migration rules that we need to apply for the project ?

julien-truffaut commented 3 years ago

@chaitanyawaikar no, sorry I am not familiar with scalafix.

dsebban commented 3 years ago

I will take this one