This absolutely baffling error appeared downstream after bumping to circe 0.11: java.lang.IncompatibleClassChangeError: class com.azavea.maml.ast.codec.MamlUtilityCodecs$$anon$1 has interface io.circe.KeyDecoder as super class... The changes introduced in this PR are an attempt to address that issue by avoiding the manual construction of trait instances and delegating that work to some circe helper functions.
It is unclear why this should work, but it appears to do the trick.
This absolutely baffling error appeared downstream after bumping to circe 0.11:
java.lang.IncompatibleClassChangeError: class com.azavea.maml.ast.codec.MamlUtilityCodecs$$anon$1 has interface io.circe.KeyDecoder as super class
... The changes introduced in this PR are an attempt to address that issue by avoiding the manual construction of trait instances and delegating that work to some circe helper functions.It is unclear why this should work, but it appears to do the trick.