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
test("Sample case class testing") {
case class TestRecord(intField: Int, stringField: String, instant: Instant, doubleArray: Array[java.lang.Double])
val schema = AvroSchema[TestRecord]
println(schema.toString(true))
}
if change java.lang.Double to Double it works
Otherwise This generate error could not find implicit value for parameter schemaFor: com.sksamuel.avro4s.SchemaFor[TestRecord]
val schema = AvroSchema[TestRecord]
if I add
implicit lazy val schemaFor: SchemaFor[TestRecord] = SchemaFor[TestRecord]
This ends with
java.lang.StackOverflowError
using avro4s 4.x version.
The text was updated successfully, but these errors were encountered:
if change java.lang.Double to Double it works
if I add
implicit lazy val schemaFor: SchemaFor[TestRecord] = SchemaFor[TestRecord]
This ends with
using avro4s 4.x version.
The text was updated successfully, but these errors were encountered: