chaokunyang opened a new issue, #3027: URL: https://github.com/apache/fory/issues/3027
### Feature Request add union to xlang type system ### Is your feature request related to a problem? Please describe _No response_ ### Describe the solution you'd like union is used wildly in many languages: - rust: tagged enum - c++: variant And other systems all has union: - protobuf has oneof - FlatBuffers has union - Arrow has sparse/dense union array We can add a `UNION` type too. the protocol can be: ``` ref meta | UNION type id | union index | value | ``` ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
