wasp icon indicating copy to clipboard operation
wasp copied to clipboard

Consider serialising job's output with Superjson

Open infomiho opened this issue 1 year ago • 0 comments

Currently, we only support job's output being plain objects with primitive values i.e. stuff that can be serialised to JSON and deserialised from JSON.

Because of that we don't support a common type like Date in the job's output. We could improve the DX by using Superjson to serialise our jobs' output.

Context: https://ptb.discord.com/channels/686873244791210014/1207604340789874719/1207776925162938528

infomiho avatar Feb 16 '24 11:02 infomiho