toolisticon / avro-kotlin

Opionionated set of extension functions and helpers for using Apache Avro with Kotlin
https://avro-kotlin.toolisticon.io/stable/
Apache License 2.0
3 stars 0 forks source link

refactor SingleObjectEncodedBytes #106

Closed jangalinski closed 1 month ago

jangalinski commented 1 month ago

Current implementation (value class wrapping Pair of fingerprint and payload bytes proved to be impractical. Too much faking is required to simulate regular class behavior for too little benefits of value class.

We should switch to regular class instead.

jangalinski commented 1 month ago

fixed with https://github.com/toolisticon/avro-kotlin/commit/82951b3ee7341f0772fdcd5dfd41e341234c442c