Skip to content

fix: stringify scalar dialogue bindings - #363

Open
han4wluc wants to merge 1 commit into
mainfrom
fix/dialogue-scalar-text
Open

han4wluc wants to merge 1 commit into
mainfrom
fix/dialogue-scalar-text

Conversation

@han4wluc

Copy link
Copy Markdown
Contributor

A dialogue text segment bound only to a number or boolean variable reaches the renderer as a number or boolean (7, false) instead of a string.

Reproduce: dialogue content ${variables.count} with a numeric variable, or with a boolean variable (regression tests).

Fix: numeric and boolean interpolation results are converted to strings; object results are handled as before.

Tests: cases for both scalar types; the full suite (2,164 tests) and lint pass.

This branch has not been deployed

No deployments
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.

1 participant