You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tanka used to have a feature which automagically parsed YAML when importing files with yaml extension. This turned out to cause problems with importstr and was disabled.
We can think about providing some kind of shortcut upstream. For example importyaml 'foo.yaml'.
Note that it's always possible to import as string and parse explicitly – std.parseJson(importstr 'foo.json').
Tanka used to have a feature which automagically parsed YAML when importing files with
yaml
extension. This turned out to cause problems withimportstr
and was disabled.We can think about providing some kind of shortcut upstream. For example
importyaml 'foo.yaml'
.Note that it's always possible to import as string and parse explicitly –
std.parseJson(importstr 'foo.json')
.See also: google/go-jsonnet#420
The text was updated successfully, but these errors were encountered: