Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Patchers as a special case of multiple case classes mapping #538

Open
MateuszKubuszok opened this issue May 19, 2024 · 0 comments
Open
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

Comments

@MateuszKubuszok
Copy link
Member

MateuszKubuszok commented May 19, 2024

Once #115 is implemented, patching could become just a special case of patch.into[Obj].withFallbackValue(obj).transform:

This rewrite would allow Patchers to use every feature that Transformers have just by adapting the PatchingContext into TransformationContext.

While its possible to implement many existing feature requests with the current Patcher implementation, such additions would quite possible duplicate the implementation for Transformers and be scheduled for deletion from the start.

@MateuszKubuszok MateuszKubuszok added the dragons ahead Task which requires handwriting compiletime reflection for Scala2&3 and/or updating the architecture label May 19, 2024
@MateuszKubuszok MateuszKubuszok added the blocked Ticket cannot be implemented because it depends on another ticker or external factor label May 19, 2024
@MateuszKubuszok MateuszKubuszok changed the title Rewrite Patchers are a special case of multiple case classes mapping Rewrite Patchers as a special case of multiple case classes mapping May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant