temporalio / temporalio/samples-typescript
[Feature Request] Add example of bundling with a payload converter
Nobody has claimed this yet.
- 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.
I have bundling working following the example at https://github.com/temporalio/samples-typescript/tree/f16fa9d4962c31231ea63c0a7c7dada3c52a840a/production.
I can use a custom payload converter following the example at https://github.com/temporalio/samples-typescript/tree/main/ejson.
How do I combine the two? When I bundle with a payload converter, I get an error from Temporal client setup:
ValueError: Could not find a file at the specified payloadConverterPath: './shared/temporal/payload-converter.ts'.
Describe the solution you'd like
Explain how to use a payload converter with a client bundled by Webpack.
Additional context
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.
Research direction
Start by comparing the production and ejson examples in the linked samples-typescript revisions, focusing on how bundling and payloadConverterPath are configured. Done means the repository includes an example or explanation showing how to use a payload converter with a Webpack-bundled Temporal client and avoids the reported missing-file error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100