TanStackT
TanStack3mo ago
4 replies
good-rose

Query params in server API route

I have this server route:

export const Route = createFileRoute("/api/auth/apple/")({
  server: {
    handlers: {
      validateSearch: zodValidator(startParamsSchema),
      GET: async () => { ... }
    }
  }
}


How can I access the validated search?

Thanks
Was this page helpful?