Support using avro serializers outside of avro4k
Chuckame opened this issue · comments
Chuckame commented
Issue
We currently have a LocalDate
field with the LocalDateSerializer
. Now if we use Json
or any other decoder/encoder, it fails as the serializer is only accepting an avro encoder/decoder.
But the serializer itself is not using the avro methods, but only kotlinx methods like encodeInt
or encodeLong
.
Proposal
Only check the avro encoder/decoder if the serializer need it.