What's the best way to validate path params? - TanStack