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

Path expressions substitution #104

Open
zakalibit opened this issue Feb 8, 2018 · 0 comments
Open

Path expressions substitution #104

zakalibit opened this issue Feb 8, 2018 · 0 comments

Comments

@zakalibit
Copy link

zakalibit commented Feb 8, 2018

Path expressions are used to write out a path through the object graph. They appear in two places; in substitutions, like ${foo.bar}, and as the keys in objects like { foo.bar : 42 }.

As well this should work as value concatenation like:
def: "default"
opt :{
name: "${def}-name"
}

that should result in
opt :{
name: "default-name"
}

As well if the ${var} is not found in the current file, try to resolve from the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants