hornta

Results 26 comments of hornta

I created a reproducible example for easier testing in here: https://stackblitz.com/edit/vitest-dev-vitest-ktnq7h

The fakeserver can take a catch-all response but it doesn't help me being able to throw when that response is matched. I tend to use https://mswjs.io/ in other projects so...

For anyone coming to this issue I made a hook for a single query. I don't know if this is can generalized to work with any query. ```ts // useGetCurrencyRateMultipleQueries.ts...

@Jonesus In this discussion phryneas linked to a PR with an initial implementation of a multi query hook https://github.com/reduxjs/redux-toolkit/discussions/2398#discussioncomment-2925776 I've not yet tested that branch but maybe you can look...

Sorry for pinging a bunch of people but me and my colleagues are really looking forward to this PR being merged and published so we are looking for a status...

That sounds good. In development mode you most certainly dont want to have any more than 1 build at a time but it shouöd be configurable to start the dev...

That's that more or less what I'm thinking of, and we ran into a case much similar to what's mentioned here: https://github.com/microsoft/TypeScript/issues/32447#issuecomment-1412469110

Would it be possible to add support for using a union as a discriminator value?

I also run into this. I have the same flag enabled and I got this code. TypeScript want's me to either pass search as a string OR not pass it...