Skip to content

Conversation

@takaaa220
Copy link
Contributor

@takaaa220 takaaa220 commented Feb 4, 2022

Description

refs: #988

Encode a Date object in return value of onCall functions to ISO formatted date string.

Code sample

onCall(() => { return { d: new Date() } })

The execution result of the above code changes as follows,

Before behavior:

{ "result": { "d": {} } }

After behavior:

{ "result": { "d": "2021-10-12T13:11:44.977Z" } }
@takaaa220 takaaa220 closed this Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant