Dynamic object subscription #74
innovate-invent
started this conversation in
Ideas
Replies: 2 comments 8 replies
-
Do you mean identifiers, rather than strings here? |
Beta Was this translation helpful? Give feedback.
8 replies
-
This feature can now be promoted as it is made easier with the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there is no way to dynamically subscript an object. This is important when the identifier is only known at runtime, or an expression is being repeated over multiple identifiers. I propose we expand the
bracket-specifier
syntax to accept strings when applied to an object:example:
Beta Was this translation helpful? Give feedback.
All reactions