Closed dmitrii-afanasyev closed 1 month ago
Hello, previously, in avro4k v1, a bytearray was handled as an array. Now in v2 it is handled as bytes/fixed, so I recommend you to migrate to v2. Also a lot of optimizations, compatibility and bug fixes has been shipped in v2. Please tell me if it works as expected after upgrading 🚀
@dmitrii-afanasyev did you try v2?
Closing this ticket as no answer sent, while there should already be a fix: migrating to v2. Don't hesitate to re-open this ticket if there is still issues.
Describe the bug This is very similar to: https://github.com/avro-kotlin/avro4k/issues/76
Deserialization of the following class fails:
Stack trace
Expected behavior It should be possible to serialize/deserialize lists of bytearrays.
Desktop
Additional context I believe ListDecoder should also check for an element type and has custom logic for ByteArray/ByteBuffer, etc. like RecordDecoder does.