Skip to content

generated trpc have input of unknown with zod v4 #2276

@nickwang0808

Description

@nickwang0808

Description and expected behavior
testing on the demo repo https://github.com/zenstackhq/sample-todo-trpc,
if you change zod version in package.json to v4, and npm i && npx zenstack generated, the generated trpc procs all have input of unknown, v3 works as expected

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions