Open imding opened 4 months ago
Hi I am having some issue getting query params to come through in a Nuxt project.
Steps to reproduce:
gh repo clone jlalmes/trpc-openapi
cd trpc-openapi/examples/with-nuxtjs
pnpm add jsonwebtoken trpc-openapi uuid zod @types/jsonwebtoken @types/uuid
pnpm i
.optional()
/posts
pnpm dev
userId
What I found:
input
url
pathname
?param=value
Hi I am having some issue getting query params to come through in a Nuxt project.
Steps to reproduce:
gh repo clone jlalmes/trpc-openapi
cd trpc-openapi/examples/with-nuxtjs
pnpm add jsonwebtoken trpc-openapi uuid zod @types/jsonwebtoken @types/uuid
pnpm i
.optional()
from the/posts
route inputpnpm dev
/posts
route withuserId
query paramWhat I found:
input
is hereurl
field using thepathname
here, which does not include the?param=value
part of the url