redux-toolkit
redux-toolkit copied to clipboard
RTKQ OpenApi CodeGen Common Parameters
Hi there,
Using the RTKQ OpenApi CodeGen, common parameters are tricky to deal with. I have set some common parameters to be put in the headers for every query. The generated hooks require these parameters on every hook use. I would much prefer to be able to define these within the base query or something like that. Is there a way to do something like this?
I’ve seen issue #3006 which is also relevant, but has no solution.