data-class icon indicating copy to clipboard operation
data-class copied to clipboard

Add back unapply and copy, but marked as private

Open alexarchambault opened this issue 5 years ago • 1 comments

It would be safe to still generate the unapply and copy methods, but with a private modifier. They could be used / helpful from the class body, but wouldn't belong to the class public API, so couldn't break binary compatibility.

alexarchambault avatar Oct 03 '19 20:10 alexarchambault

This is a good idea. It would be great if we could tweak private to private[$package] so that library authors can still use unapply and copy internally inside their library if they want to.

jvican avatar Oct 04 '19 08:10 jvican