Jan Christopher Vogt

Results 215 comments of Jan Christopher Vogt

I'll see if I can make that happen on one of the following weekends.

@caente if I could get back merge rights, I would do it :)

also should probably be import org.cvogt.play.json.SingletonEncoder.simpleName // required for formatSingleton import org.cvogt.play.json.implicits.formatSingleton // required if trait has object children here and in docs

Hi guys. Sorry for the late response. I don't have much time to focus on this right now. Would be happy to give this up for adoption. Chris

It's related a bug when nesting objects or classes inside other object or classes https://issues.scala-lang.org/browse/SI-5425 As a workaround, avoid this and put them top-level.

Shapeless mentions this as the instructions for 2.10: ``` scalaVersion := "2.10.6" libraryDependencies ++= Seq( "com.chuusai" %% "shapeless" % "2.3.1", compilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) ) ``` I...

Other people may have the same misunderstanding. And I actually hadn't heard of `compilerPlugin` before I looked at the shapeless docs myself. Will re-open and probably adjust docs.

Or maybe this should be documented instead @sjrd wrote > I recommend against using a class for JSON structures, as that causes your object not to be a POJO (Plain...