DominicMCN
DominicMCN
@polskafan Can you please share your config? I'm failing at that step as well Nvm that, my WSL was just acting up
Also does not work for me, still get JSON error ``` 'F' is invalid after a value. Expected either ',', '}', or ']'. Path: $ | LineNumber: 35 | BytePositionInLine:...
Hmm. Yeah I do have quotes in my variable. But it seems to still fail with the work-around. Is there a way to view the rendered json/request after templating so...
I got Scriban template error ``` (12,32) : error : The function `object.to_json` was not found ``` Seems to be in a recent version of [Scriban](https://github.com/scriban/scriban/pull/533/commits/a65c891245e2c8550fb28fcd6e9d296c99ad6a2f). I guess I'll have...
Well the variable displays correctly as a string contain a JSON object ``` "{\"example\": 1} ``` Now it's working if i directly replace it in script like ``` kreya.variables.set('example', msg.content.example.replaceAll('\"',...
Ah @CommonGuy , I see. From your example it should have been ``` { "my-message": "{{ vars.my_string | string.replace '\"' '\\u0022'}}" } ``` Just misplaced `}}`. Anw it works now,...
@CommonGuy will there be a version with a newer Scriban version full (probably in beta / alpha?). I'm keen to write some tests using the new collection feature but it's...
Actually the new object functions are not in the latest release of scriban yet. Back to waiting. Thanks for the effort! ----- THey just pushed a new tag (5.10.0). Would...
@CommonGuy just saw a new alpha but still older Scriban. Sorry for too much tagging but just in case the issue get lost :)
@CommonGuy holy crap all my end-to-end testing script suddenly works now. Thanks a lot guys! Script is actually really useful now