Skip to content
Discussion options

You must be logged in to vote

Thank you, @swarm59, for the precise report and minimal reproducer, and thank you, @sueun-dev, for tracing it to the exact KeyHolder branch and documenting a useful workaround. You were both right: the Rust key path followed a scoped type only when it resolved to a struct, so a typedef ending in a primitive fell through to the generic “complex key” error.

This is fixed on main in bd7e592. Key fields are now dealiased before KeyHolder sizing and emission, with regression coverage for primitive, string, chained-alias, and nested-struct cases.

Your report also gave us the entry point for a much broader KeyHash audit. We found and fixed related cases beyond the original Rust failure: C# could…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SandraK82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants