This change allows to (de-)serialize unions using the public serdes headers. It does not change the API of the Serializer / Deserializer classes, but only implements the existing member functions.
The index is 1-based, since a related piece of software already uses 1-based indices for union discriminators.
Instructions for review / testing
Developer checklist (address before review)
[ ] Changelog.md updated
[ ] Prepared update for depending repositories
[ ] Documentation updated (public API changes only)
[ ] API docstrings updated (public API changes only)
Subject
This change allows to (de-)serialize unions using the public serdes headers. It does not change the API of the
Serializer
/Deserializer
classes, but only implements the existing member functions.The index is 1-based, since a related piece of software already uses 1-based indices for union discriminators.
Instructions for review / testing
Developer checklist (address before review)