digdag
digdag copied to clipboard
[issue] exported json object is converted into string on read unexpectedly
_export:
orig:
key: 1
+task1:
_export:
alias: ${orig}
sh>: echo ${alias} # {key:1}
+task2:
_export:
alias: ${orig}
sh>: echo ${alias.key} # empty
I expected that ${orig} gives me a JSON object rather than a String "{key:1}"
Please let me know if there is a reason that this spec is reasonable.
Hi @sonots-zozo, sorry to be late. I'm not familiar with the behavior around parameters template. I will take a look but, take a time. then update back to you.
Thanks.
FYI: It looked all variables are passed as a string (even 1 or false) at _export.