Most ergonomic way to validate and read query/search params in API routes
Is there something similar to
validateSearch
(available in regular routes) for API routes? Or what's the most ergonomic way to parse and read query params?4 Replies
flat-fuchsia•7mo ago
does this work?

rival-black•7mo ago
this is for parsing path params
we don't have the same support for query params in api routes yet unfortunately
ambitious-aqua•2mo ago
any update?
rival-black•2mo ago
no