Skip to content

Fix enum struct and tuple variant application in dynamic BSN#21

Merged
pcwalton merged 1 commit into
pcwalton:dynamic-bsn-2from
jbuehler23:fix-enum-variants-v2
Apr 3, 2026
Merged

Fix enum struct and tuple variant application in dynamic BSN#21
pcwalton merged 1 commit into
pcwalton:dynamic-bsn-2from
jbuehler23:fix-enum-variants-v2

Conversation

@jbuehler23

Copy link
Copy Markdown

Summary

  • Implement enum struct variant handling in the dynamic BSN template application and loader
  • Implement enum tuple variant handling in the dynamic BSN template application
  • Wrap DynamicStruct/DynamicTupleStruct in DynamicEnum with the correct variant name so reflect_enum.apply() works correctly

Fixes the enum variant items in bevyengine#23637.

@pcwalton pcwalton merged commit bbc8b57 into pcwalton:dynamic-bsn-2 Apr 3, 2026
23 of 33 checks passed
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.

2 participants