scala-webapp-template icon indicating copy to clipboard operation
scala-webapp-template copied to clipboard

Remove the noData argument when having empty request/reponse models

Open AlexITC opened this issue 2 years ago • 0 comments

play-json doesn't generate codecs by default for empty case classes (or case object), we have replaced those with a case class having a single argument called noData, like case class Response(noData: String = ""). Let's remove such trick and use empty classes (or case object) instead.

AlexITC avatar May 09 '22 20:05 AlexITC