mfernd commented on PR #2035:
URL: https://github.com/apache/avro/pull/2035#issuecomment-2405177156

   Note that the test would work if you change the [serde representation of the 
enum](https://serde.rs/enum-representations.html) `UnionLongDouble` with:
   
   ```rust
   #[derive(Debug, PartialEq, Clone, serde::Deserialize, serde::Serialize)]
   #[serde(untagged)] // <-- here
   pub enum UnionLongDouble {
       Long(i64),
       Double(f64),
   }
   ```
   
   This PR has been open for a while, but I came across it while looking for a 
solution to a similar issue.


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