TanStackT
TanStack11mo ago
5 replies
good-rose

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?
Was this page helpful?