-
Notifications
You must be signed in to change notification settings - Fork 0
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
Additional Operations #1
Comments
I think adding But I also want some kind of list-comprehension-like syntax, like [
"{% for scope in scopes %}",
"{{ greeting < scope }}",
"{% end for %}"
] or {
"for_comprehension": "{{ foo.bar for foo in foos }}",
"map": "{{ foos map bar }}",
"dot_operator": "{{ foos.bar }}",
"dot_operator_with_other": [
"{{ foos .+ 1 }}",
"{{ foos .?? fallback }}",
"{{ foos .< scopes }}"
]
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently supported operations are
<
|
??
Although combinations of above operations can structure many of the configuration, there is some limitations to achieve everything. This issue is a small proposal for future improvements of operations
List Operation
Merging two lists
Mapping injection with list of scope (really required?)
Unique filter
Dictionary
Merging two dictionary (really required?)
Integer Operation
Simple integer operation
The text was updated successfully, but these errors were encountered: