temporalio / temporalio/cli

[Feature Request] Let me specify the encoding for my inputs. Bonus for doing this with outputs too...

Open
#954 3 comments 0 reactions 1 assignee View on GitHub

@ks-temporal is already working on this.

Since Jun 11, 2026.

enhancement good first issue
Dominant language
Go
Stars
379
Forks
103
Avg merge
2d 11h
Merged PRs (30d)
23

Description

Is your feature request related to a problem? Please describe.

We are too assumptive about JSON usage everywhere...We need to support arbitrary encodings for at least inputs (if not outputs also...) , for example encoding=json/protobuf.

We support this on some commands while others we do not.

Describe the solution you'd like

Support protobufs for real from the CLI since we include it as default data converter in most SDKs OOTB.

We really should allow specifying the OUTPUT encoding too since protobufs are a result too, not just an input.
Basically, these commands need to be consistency and real-world.

Additional context

I did the hard part for you in identifying which commands lack proper support for input encoding:

Category Command Payload Flag Meta/Encoding Switch?
Workflow start / execute --input Yes (--input-meta)
Workflow update start --input Yes (--input-meta)
Workflow signal --input No
Workflow query --input No
Activity complete --result No
Activity fail --detail No
Activity heartbeat --details No
Batch signal --input No
Schedule create / update --input Yes (--input-meta)

Contributor guide

Open the contributing guide

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.