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
scala>importscala.collection.mutable
scala>importcom.sksamuel.avro4s.AvroSchema
scala>AvroSchema[mutable.Set[Int]]
-- [E172] TypeError:----------------------------------------------------------1|AvroSchema[mutable.Set[Int]]
|^|Nogiveninstance of typecom.sksamuel.avro4s.SchemaFor[scala.collection.mutable.Set[Int]] was found for parameter schemaFor of method apply in objectAvroSchema.
|Ifound:
|| com.sksamuel.avro4s.SchemaFor.autoDerived[scala.collection.mutable.Set[Int]](
|/* missing */| summon[scala.deriving.Mirror.Of[scala.collection.mutable.Set[Int]]]
| )
||ButFailed to synthesize an instance of typescala.deriving.Mirror.Of[scala.collection.mutable.Set[Int]]:|*traitSet is not a generic product because it is not a caseclass|*traitSet is not a generic sum because it is not a sealedtrait.
1 error found
Is it okay to add the support for mutable.Set in this package, or I should add my own encoder/decoder locally in my project codebase?
If it's fine to include it in this project, I can try to make a PR. (well, my Scala skill is rusty. :p)
The text was updated successfully, but these errors were encountered:
Hi, I ran into this issue:
Is it okay to add the support for
mutable.Set
in this package, or I should add my own encoder/decoder locally in my project codebase?If it's fine to include it in this project, I can try to make a PR. (well, my Scala skill is rusty. :p)
The text was updated successfully, but these errors were encountered: