Closed schwer closed 7 months ago
Thanks for the report, plan to have this fixed today
@schwer the latest version should contain the fix. Could you please check if it's ok or not now? :)
I'm closing this one, feel free to reopen if something goes wrong
I am using the following arguments to build a client:
And when using the generated client, I want to be able to override the axios behavarior for a specific useQuery usage:
When I look at the generated sources, the config is not being passed into the client method that runs the request. It therefore only uses the query configuration based on the setAxiosFactory or set...AxiosConfig call.
The generated client method looks like this:
The call stack indicates that the
__getMyQuery
function is being called with the attached meta/config passed into the originaluseQuery
call. I suspect a fix here would require a slight modification because it's just adding an additional argument to an existing call flow.