urlyy opened a new pull request, #2855:
URL: https://github.com/apache/fory/pull/2855

   ## Why?
   Enum with poayload is the norm in rust and is extensively used.
   
   
   ## What does this PR do?
   Modified the `Enum::read_data()`, `Enum::write_data()`, and the code 
generation for `Enum::default()` to support tagged union enums.
   
   ## Related issues
   #2851
   
   ## Does this PR introduce any user-facing change?
   If the user is in `Rust to Rust` protocol instead of `Xlang` protocol, the 
values of the tagged union enum can be transmitted correctly. Otherwise, 
although the corresponding enum value can be passed, the `internal value` will 
be the initial value.


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