Closed slinkydeveloper closed 1 month ago
ctx.run now enforces JSON serialization, but we should provide some way to just serialize bytes.
ctx.run
One idea could be to just have some options on the ctx.run to specify raw output:
ctx.run(closure, {raw: true})
From discussion: https://discord.com/channels/1128210118216007792/1136316066696532069/1268769376115363930
Solved by https://github.com/restatedev/sdk-typescript/commit/38fa97cfca0b3aaa970ce843c15f918c9541b718
ctx.run
now enforces JSON serialization, but we should provide some way to just serialize bytes.One idea could be to just have some options on the
ctx.run
to specify raw output:From discussion: https://discord.com/channels/1128210118216007792/1136316066696532069/1268769376115363930