Kriskras99 commented on PR #260:
URL: https://github.com/apache/avro-rs/pull/260#issuecomment-3178804957

   So thinking about it for a bit, there are two bugs:
   - In Avro derive it should generate a JSON null when the default is `"null"` 
(instead of `""null""`)
   - In the schema parser it should check if the default matches the type of 
the first element of the union.
     - Thus for a schema with `"type": ["null", "string"], default: 
"something"` should return an error


-- 
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