Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Thanks for helping out. This code shows the writer's properties listed out manually. This gets tedious fast. Is there not a way that the public properties of a case class be persisted by default? ... even better, automagic property enumeration for Reader and Writer?
    – Mike Slinn
    Commented Feb 24, 2022 at 12:07
  • @MikeSlinn I just tried again the same code, but without specifying the Writer[Course] and it seems that Doobie automatics derivation works well to generate it for us. I've updated my answer to be more specific. Commented Feb 24, 2022 at 15:05
  • That's what I'm talking about!
    – Mike Slinn
    Commented Feb 24, 2022 at 16:36