PookieBuns commented on issue #517:
URL: https://github.com/apache/avro-rs/issues/517#issuecomment-4130384504

   Given that now we have access to the schema for schema aware serialization 
and deserialization, do you think we should still use the variant index with 
bumping / decrementing for se / deserialization, or would you be open to using 
names for variant matching? i.e. `variant_name` to find the serialization 
branch, and using `IdentifierDeserializer::string` for visiting identifier? For 
primitives, it would be `Int(i32)`, `Long(i64)` etc... Note that this would be 
breaking but it seems like #424 is already primed with a large set of breaking 
changes so if we do want to adopt this it could be a good time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to