Rewrite Patchers as a special case of multiple case classes mapping #538
Labels
blocked
Ticket cannot be implemented because it depends on another ticker or external factor
dragons ahead
Task which requires handwriting compiletime reflection for Scala2&3 and/or updating the architecture
enhancement
Milestone
Once #115 is implemented, patching could become just a special case of
patch.into[Obj].withFallbackValue(obj).transform
:Patcher[Obj, Patch]
Option
rulesThis rewrite would allow
Patcher
s to use every feature thatTransformer
s have just by adapting thePatchingContext
intoTransformationContext
.While its possible to implement many existing feature requests with the current
Patcher
implementation, such additions would quite possible duplicate the implementation forTransformer
s and be scheduled for deletion from the start.The text was updated successfully, but these errors were encountered: