Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTKQ OpenApi CodeGen Common Parameters #4285

Open
sebws opened this issue Mar 21, 2024 · 1 comment
Open

RTKQ OpenApi CodeGen Common Parameters #4285

sebws opened this issue Mar 21, 2024 · 1 comment

Comments

@sebws
Copy link
Contributor

sebws commented Mar 21, 2024

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?

@sebws
Copy link
Contributor Author

sebws commented Mar 21, 2024

I’ve seen issue #3006 which is also relevant, but has no solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant