trpc-openapi
trpc-openapi copied to clipboard
Query param not working in example/with-nuxtjs
Hi I am having some issue getting query params to come through in a Nuxt project.
Steps to reproduce:
gh repo clone jlalmes/trpc-openapicd trpc-openapi/examples/with-nuxtjspnpm add jsonwebtoken trpc-openapi uuid zod @types/jsonwebtoken @types/uuidpnpm i- remove
.optional()from the/postsroute input pnpm dev- make GET request to
/postsroute withuserIdquery param
What I found: