Relax computed importstr ?
Open
enhancement
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
Do you think it will be possible to use `importstr` with variable?
e.g:
``` yaml
{
files: [
{
file: filepath,
content: importstr filepath
} for filepath in ['a.txt', 'b.txt', 'c.txt']
],
}
```
``` yaml
some_function(file):: (
local content = importstr file;
#process the content
)
```
Contributor guide
Assessment
This issue has not been assessed yet.