snps-halkoaho

Results 2 comments of snps-halkoaho

What we did was: ``` export const api = generatedApi.enhanceEndpoints({ endpoints: { someGeneratedApiMethod: { query: undefined, queryFn: async (arg) => { // Do your xhr request here }, }, },...

> the first param arg has type that is generated by api generator No, it actually doesn't. The `query: undefined` overrides the `query` from generatedApi. You can define the `arg`...