Hi all! I've been playing with the API definition format, but I have a problem: when I try to add headers to the response, I get an empty body instead. Basically, I've defined my response like this:
in relation to Web Assembly Value Encoding, we changed ' to ",
parsing did not failed on ', but expression evaluation ended with empty expression, which resulted in Unit/Empty response
From https://discord.com/channels/1134448700572319785/1134448701260169249/1264231231017717840
Hi all! I've been playing with the API definition format, but I have a problem: when I try to add headers to the response, I get an empty body instead. Basically, I've defined my response like this:
and it works (I get a JSON reponse from the worker); but when I change it to something like:
then I get nothing:
Has anyone stubled upon this problem? I've checked the issues but I couldn't find anything related. Thanks!
(edit: forgot to add link to reproducible example: https://github.com/albx79/golem-experiments/tree/main/fate-api)