Skip to content

zcbor.py: Add support for .default for unions#534

Open
oyvindronningstad wants to merge 1 commit intonordicsemi:mainfrom
oyvindronningstad:default-union
Open

zcbor.py: Add support for .default for unions#534
oyvindronningstad wants to merge 1 commit intonordicsemi:mainfrom
oyvindronningstad:default-union

Conversation

@oyvindronningstad
Copy link
Copy Markdown
Collaborator

Fixes #516

@oyvindronningstad oyvindronningstad force-pushed the default-union branch 2 times, most recently from 264c323 to 673e469 Compare November 19, 2025 13:44
@oyvindronningstad oyvindronningstad force-pushed the default-union branch 3 times, most recently from 70b2c72 to cdf8068 Compare December 10, 2025 15:42
@oyvindronningstad oyvindronningstad force-pushed the default-union branch 2 times, most recently from c057866 to 705b77b Compare March 27, 2026 14:19
@oyvindronningstad oyvindronningstad changed the title zcbor.py: Improve .default to allow indirection, and defaults for unions zcbor.py: Add support for .default for unions Mar 27, 2026
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.default operator does not work on choices

1 participant