You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Union type descriptions prints as JSON when using zod #151
When defining inputs with union type, I've noticed that using z from the trpc-cli causes that CLI to print JSON-like type description (e.g. Any of: [{"type":"string"},{"type":"boolean"}] (default: false)), whereas using z from zod package produces much clearer, human-readable output (e.g. type: string or boolean (default: false)).
Usage: index init [options]
Options:
--type [value] Any of: [{"type":"string"},{"type":"boolean"}] (default: false)
-h, --help display help for command
Activity