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

Allowed dotted name nested var and store retrieval #50

Open
2 of 6 tasks
jkomoros opened this issue Jul 9, 2023 · 0 comments
Open
2 of 6 tasks

Allowed dotted name nested var and store retrieval #50

jkomoros opened this issue Jul 9, 2023 · 0 comments

Comments

@jkomoros
Copy link
Owner

jkomoros commented Jul 9, 2023

Allow passing . in names to mean create and override sub-objects.

Do this for both var/let/let-multi and store/retrieve, as well as property

Note that this makes environment overlaying more complex and need a special helper.

Once this is done, perhaps have secrets be the place secrets are stored?

The simplest place to do this is property, where it doesn't even have to be that hard, and then it can be used for #45

  • Support dotted property names in property
  • property should also have an else parameter
  • Support dotted property names in let/let-multi
  • Su[port dotted property names in store/retrieve
  • Support dotted names as template names
  • Fix error introduced in f9f4023
jkomoros added a commit that referenced this issue Jul 22, 2023
It knows how to do dotted property gets.

Part of #50.
jkomoros added a commit that referenced this issue Jul 22, 2023
This allows e.g. `a.2` to select from {a: [0,1,2]} to return 2.

Part of #50.
jkomoros added a commit that referenced this issue Jul 23, 2023
jkomoros added a commit that referenced this issue Jul 23, 2023
jkomoros added a commit that referenced this issue Jul 23, 2023
jkomoros added a commit that referenced this issue Jul 23, 2023
The test was broken when it was committed, only becuase the control character in loop was wrong.

Part of #50. Broken in f9f4023
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

No branches or pull requests

1 participant