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

docs: Add info about variable item key name restrictions #15966

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

angrycub
Copy link
Contributor

@angrycub angrycub commented Jan 30, 2023

While you can use any string value for a variable Item's key name using characters that are outside of the set [unicode.Letter, unicode.Number, _] will require the index function for direct access.

[Preview 🔎]

While you can use any string value for a variable Item's key name
using characters that are outside of the set [unicode.Letter,
unicode.Number,`_`] will require the `index` function for direct
access.
@angrycub angrycub self-assigned this Jan 30, 2023
@angrycub angrycub added type/enhancement theme/docs Documentation issues and enhancements theme/variables Variables feature labels Jan 30, 2023
@angrycub angrycub marked this pull request as ready for review January 30, 2023 20:01
@angrycub angrycub requested review from gulducat and tgross January 30, 2023 20:02
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/docs Documentation issues and enhancements theme/variables Variables feature type/enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants