Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lib): fix using variables and locals directly in template strings #2791

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

ansgarm
Copy link
Member

@ansgarm ansgarm commented Apr 11, 2023

Usage in template strings will implicitly call .toString() on these which previously returned the address of the construct (as implemented in Construct#toString). With this change converting a variable or local instance to a string will just work

Usage in template strings will implicitly call .toString() on these which previously returned the address of the construct (as implemented in Construct#toString). With this change converting a variable or local instance to a string will just work
@ansgarm ansgarm force-pushed the to-string-local-variable-tokens branch from 2e92b45 to ef736b3 Compare April 12, 2023 11:21
@ansgarm ansgarm merged commit 423f221 into main Apr 12, 2023
23 checks passed
@ansgarm ansgarm deleted the to-string-local-variable-tokens branch April 12, 2023 11:32
@mutahhir mutahhir mentioned this pull request Apr 18, 2023
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants