Luke Morales

Results 49 comments of Luke Morales

Thanks for another great suggestion @iamnafets! Could you elaborate a bit more over how would this be different/better than using: ```tsx export const { routes, useSafeParams, useSearchParamsState } = createNavigationConfig(defineRoute...

>For SPAs, you often want to manipulate the querystring without navigating. How come? I mean, what's the point of storing state in the URL if you're not navigating?

> There are quite a few situations where you'd want to do this. We use it for query parameters for filtering a table. The general idea is that by having...

Hey @iamnafets thanks for the sugggestion, this is something It's already on my roadmap for the lib

@jrobeson the issue is that once you pass generics manually to a function, Typescript stops inferring the values and what you're experiencing is Typescript complaining about QueryKey default value not...

> I've never had to do all 4 params before, so that's why I was confused. I'll probalby provide them in the meantime then. thanks It's mostly because `users.list.queryFn` comes...

Perhaps making the type less strict there might be more useful? Let me sleep on that ideia

@soartec-lab I see the next version is already available, but looking at the [implementation](https://github.com/orval-labs/orval/blob/3ae2111bac05ecf2075ca3d92c218d7b90072d61/packages/zod/src/compatibleV4.test.ts#L22C3-L40C6), it doesn't seem to be the correct strategy, since zod v4 is gonna be available only...

@jetaggart and @brmenchl thanks for bringing more context to the issue! I'll take a look on how to fix this

@gomesalexandre the behavior is documented, there are no examples with options other than `queryKey` and `queryFn`, and nowhere in the documentation it is told that every query option is supported,...