You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to milessabin/shapeless#309. Scalaz tagged types and shapeless records don't deal well together. milessabin/shapeless#309 gives a workaround, which would involve writing alternatives to hconsEncodeJson and hconsDecodeJson methods specifically taillored for scalaz tagged types. It should be possible fto write these manually, and put them in scope when deriving these codecs.
I wonder if it’s any different with shapeless tags instead of scalaz tags. I’m not really tied to the latter. Won’t have a chance to give it a try until next week though.
I have an example where I can't derive an instance for a case class even though I do have instances for all the members of the case class:
above code is reproduced at http://scastie.org/12249
The text was updated successfully, but these errors were encountered: