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

WIP: Merging transformations #614

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MateuszKubuszok
Copy link
Member

  • add Fallback to TransformerOverrides
  • add withFallback DSL method
  • add val fallbacks: List[ExistentialExpr] to TransformationContext
  • parse TransformerOverrides.Fallback type in TransformerConfiguration
  • add ability to update fallbacks list next to src: Expr[From] in recursion
  • ProductToProduct
    • lazily, obtain extractors for each fallback
    • find first extractor matching to pass value down in field resolution
    • convert current type's fallbacks list into a fallback list for the handled field
  • SealedToSealed
    • TODO
  • IterableToIterable, MapToMap
    • add a flag to decide how collections should be treatet: take first, take last, ++
  • OptionToOption, ToOption
    • add a flag to decide how option should be handled: take first, take last, orElse
  • EitherToEither
    • TODO
  • AnyVal rules
    • TODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant