Yusuke Wada

Results 1706 comments of Yusuke Wada

@draew6 Thanks. But, I can't reproduce the problem. The following project works well! https://github.com/yusukebe/vercel-zod-openapi

@draew6 AH, sorry! I only use `vercel dev`, but when I use `vercel` command to deploy, it fails.

This is certainly an error I've never seen before and don't know how to resolve. Hmm

This issue may be solved in the latest versions. So, I am closing this issue now. @MeatBoyed If you still have a problem, please create a new issue with the...

Hi @Krow10, Apologies for the delayed response. We can only use the `string` type for a query, so you won't be able to use `z.coerce.number()`. Instead, you could use something...

> Not sure I follow, doesn't `coerce` aim to treat the query as a `string` and convert it by itself? Ideally, it should do it, but not. Also the `input`...

Hi, > Maybe one last question then: in what context would you use `coerce` without the need for additional transforms? `coerce` in Zod is used when we want to coerce...

Hi @WiktorKryzia Indeed, only `TypeResponse` is now allowed. But I think this is fine. Since `c.text()` and `c.body()` cannot return a type, they cannot be defined in the `ZodMediaTypeObject` schema....

@WiktorKryzia I understand what you want to do. Thanks for the explanation. Certainly it would be better to be able to specify content other than JSON. However, since shema supports...

@WiktorKryzia Thanks! I'll work on it later.