bizzabo / play-json-extensions

+22 field case class formatter and more for play-json
http://cvogt.org/play-json-extensions/api/
Other
196 stars 44 forks source link

error: class :: takes type parameters #91

Open paulpaul1076 opened 2 years ago

paulpaul1076 commented 2 years ago

I define a Reads object like so: val reestrdocReads = Jsonx.formatAuto[Reestrdoc] but when I compile my code, I get this error, which points me to the definition of my Reads object: error: class :: takes type parameters.

The "::" thing is a list I assume.

I do have a field in one of my case classes that is defined like so: tc_goods: ::[TcGoodsTtnoutEgais].

What is the issue here?