temporalio / temporalio/samples-typescript

[Feature Request] Add Error ejson type

Open
#140 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.