Kriskras99 commented on code in PR #564:
URL: https://github.com/apache/avro-rs/pull/564#discussion_r3462220748
##########
avro_derive/src/attributes/serde.rs:
##########
@@ -117,8 +117,10 @@ pub struct ContainerAttributes {
pub _default: Option<SerdeDefault>,
/// This type is the serde implementation for a "remote" type.
///
- /// This makes the (de)serialisation use/return a different type.
- pub remote: Option<String>,
+ /// This makes the (de)serialisation use/return a different type. However,
the this type should
+ /// match the other type so the schema we generate is correct.
Review Comment:
I've tried to improve the documentation, but the best reference is the Serde
docs itself. The most important part is that it doesn't affect the schema we
generate.
--
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]