import com.google.protobuf.Any // if imported, will throw a coder error below
case class A(userId: Int)
object Job {
def main(cmdlineArgs: Array[String]): Unit = {
implicitly[com.spotify.scio.coders.Coder[A]]
}
}
Throws:
[error] Cannot find an implicit Coder instance for type:
[error]
[error] >> A
Aliasing the import or using the fully resolved class name sidesteps the issue
Throws:
Aliasing the import or using the fully resolved class name sidesteps the issue