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

no implicit group decoder for case class with more than 1 field with non-standard fields #14

Open
rubenpieters opened this issue Nov 10, 2016 · 0 comments

Comments

@rubenpieters
Copy link

rubenpieters commented Nov 10, 2016

if we have the following case class:

case class CC4(str: String, dt: LocalDate)

Then there is no GroupDecoder[CC4]: implicitly[GroupDecoder[CC4]] does not compile.
Which results in it not being usable in for example a Regex[(A, CC4)], but Regex[CC4] works fine.

Interestingly, this only applies if the case class has more than 1 field

here is a gist with some examples: https://gist.github.com/rubenpieters/3227060a0ab55c48ea6ac899f70a115e

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

No branches or pull requests

1 participant