chaokunyang commented on issue #3049:
URL: https://github.com/apache/fory/issues/3049#issuecomment-3658780226

   We don't write generic info for struct itself since not all languages can 
express such generics.
   
   And we don't support struct with generics since it's not portable across 
different languages. But we do can support it for pure rust native mode.
   
   I think we should not write generics for struct field, We can just take 
`Wrapper<String>` or any other `Wrapper<i32>` as different types and as a whole 
directly. Whe write type info for `Wrapper<T>`, We use registered type id or 
name


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

Reply via email to