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
[error] (...)/KebsTest.scala:13: diverging implicit expansion for type routers.ThingProtocol.JF[Option[KebsTest.this.Thing]]
[error] starting with macro method jsonFlatFormat in trait KebsSpray
[error] implicitly[JsonFormat[Thing]].write(t)
[error] ^
[error] one error found
The text was updated successfully, but these errors were encountered:
I fixed this issue in 938a9c9 . The fix involves new macro - jsonFormatRec[T] which materializes correct recursive lazy RootJsonFormat[T]. Could you please test it? Please check out tests if you want to see how to use it. Thanks!
The following code:
Gives error:
The text was updated successfully, but these errors were encountered: