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
refactor: rework removing of type annotations (DEV-2079) #2611
refactor: rework removing of type annotations (DEV-2079) #2611
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2611 +/- ##
===========================================
- Coverage 87.07% 14.16% -72.91%
===========================================
Files 267 271 +4
Lines 28686 28854 +168
===========================================
- Hits 24979 4088 -20891
- Misses 3707 24766 +21059
... and 169 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
fcd11b2
to
f6471f9
Compare
fc86152
to
b739cbe
Compare
} yield whereClause.copy(patterns = wherePatterns) | ||
def removeTypeAnnotations(whereClause: WhereClause): Task[WhereClause] = { | ||
val patterns = whereClause.patterns.flatMap(transformPattern) | ||
ZIO.succeed(whereClause.copy(patterns = patterns)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZIO.succeed(whereClause.copy(patterns = patterns)) | |
ZIO.succeed(whereClause.copy(patterns)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't seem to work for copy()
on a case class, without named param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request Checklist
Task Description/Number
Issue Number: DEV-2079
Basic Requirements
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Does this PR change client-test-data?