Is there a way to validate path parameters pre-route matching? - TanStack