The GitHub Actions job "Fory CI" on fory.git/feat-rust-union-type-id has failed.
Run started by GitHub user userzhy (triggered by userzhy).

Head commit for run:
3ebbb48bdc68bcb9aeb3711a2bc6be43da5c69de / userzhy 
<[email protected]>
fix(rust): only use UNION type ID for tagged enums in xlang mode

Simple enums (all unit variants) should use ENUM type ID.
Tagged enums (some variants have data) should use UNION type ID.

This fixes the compatibility with Java where simple enums are
serialized with ENUM type ID.

- Add is_simple_enum() helper to check if all variants are unit types
- Pass is_tagged parameter to write_type_info/read_type_info
- Update tests to verify correct type ID for both enum types

Report URL: https://github.com/apache/fory/actions/runs/20390299246

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to