Nathan Bedell
01/13/2022, 4:42 PM@optics
annotation, on a sealed class
it looks like only prisms for each of the sub-classes are generated.
Wouldn't it also make sense to generate lenses for each of the abstract fields of the sealed class, at least if the necessary criteria is met (i.e. all subclasses use the abstract val in question as overridden constructor parameters)?simon.vergauwen
01/13/2022, 6:23 PM