chaokunyang commented on code in PR #2699:
URL: https://github.com/apache/fory/pull/2699#discussion_r2403685114
##########
rust/fory-derive/src/object/read.rs:
##########
@@ -136,7 +136,7 @@ pub fn gen_read(struct_ident: &Ident) -> TokenStream {
<Self as
fory_core::serializer::Serializer>::fory_read_data(context, false)
},
fory_core::types::Mode::Compatible => {
- <#struct_ident as
fory_core::serializer::StructSerializer>::fory_read_compatible(context)
+ <#struct_ident as
fory_core::serializer::Serializer>::fory_read_compatible(context)
Review Comment:
why it's `Serializer` instead of `StructSerializer`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]