temporalio / temporalio/samples-typescript
[Feature Request] Add Error ejson type
Open
@lorensr is already working on this.
Since May 5, 2022.
enhancement
- Dominant language
- TypeScript
- Stars
- 465
- Forks
- 148
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem? Please describe.
Error objects get turned into empty objects when run through data converter (JSON.stringify(new Error('test')) is {})
https://temporalio.slack.com/archives/C01DKSMU94L/p1651770690341829
Describe the solution you'd like
Add Error as a type: https://docs.meteor.com/api/ejson.html#EJSON-addType
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.