sksamuel / avro4s

Avro schema generation and serialization / deserialization for Scala
Apache License 2.0
719 stars 237 forks source link

re-enable refined module #821

Open rolman243 opened 7 months ago

rolman243 commented 7 months ago

I want to re-enable the avro4s refined module, but I have some problems getting everything right.

I have a few questions:

1) I don't have any experience in using shapeless. What would be a replacement for Coproduct and HList to rewrite RefinedRoundtripTest?

2) I have one failing test in RefinedSuite. I can't figure out why the test "generate correct schemas for a Map when refined instances are in scope" generate the field map as a STRING and not as a MAP. Do you have a hint, what could be wrong?

3) What's the concrete requirement for the TypeGuardedDecoding type?