Skip to content

case class rewrite for core#1391

Draft
daddykotex wants to merge 6 commits intoseries/0.19from
dfrancoeur/binary-compat-partialunapply
Draft

case class rewrite for core#1391
daddykotex wants to merge 6 commits intoseries/0.19from
dfrancoeur/binary-compat-partialunapply

Conversation

@daddykotex
Copy link
Copy Markdown
Contributor

@daddykotex daddykotex commented Feb 5, 2024

PR Checklist (not all items are relevant to all PRs)

  • Updated changelog

I'll reach out to scalafix to try and upstream the linting rule. If we can't get it in there in, I'll open another PR to get it in here.

fullSchema.findPayload(isPayloadField) match {
case TotalMatch(schema) => OnlyBody(schema)
case NoMatch() =>
case tm: TotalMatch[_] => OnlyBody(tm.schema)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is typically the kind of thing that I think warrants a visitor

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.

2 participants