Skip to content

Fix BSN dynamic macro error for entity names and references#24787

Open
mansiverma897993 wants to merge 3 commits into
bevyengine:mainfrom
mansiverma897993:fix-bsn-dynamic-macro-error
Open

Fix BSN dynamic macro error for entity names and references#24787
mansiverma897993 wants to merge 3 commits into
bevyengine:mainfrom
mansiverma897993:fix-bsn-dynamic-macro-error

Conversation

@mansiverma897993

@mansiverma897993 mansiverma897993 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

This PR implements BsnName to support dynamic braced expressions #{expr} for entity naming and references in the bsn! macro. Fixes #24780.

@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Scenes Composing and serializing ECS objects S-Needs-Review Needs reviewer attention (from anyone!) to move forward D-Macros Code that generates Rust code labels Jun 28, 2026
@alice-i-cecile alice-i-cecile added this to the 0.19.1 milestone Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Scenes Composing and serializing ECS objects C-Bug An unexpected or incorrect behavior D-Macros Code that generates Rust code S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic BSN expressions generate a macro error

2 participants