sphere-scala-libs
sphere-scala-libs copied to clipboard
Failing test for macro with classes in a different file
In Sphere I discovered the macro doesn't work across files 🤔
For now just a failing test to demonstrate the issue, perhaps I'll dig into it on a tech day to fix it.
Specifically it's not correctly detecting the subtypes
[info] /Users/martinwelgemoed/commercetools/sphere-scala-libs/json/json-derivation/src/test/scala/io/sphere/json/MultiFileJSONSpec.scala:12:40: io.sphere.json.AnotherFileExample.Bug Subtypes: class Spider
[info] implicit val bugJSON = deriveJSON[Bug]