We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generate react-hooks based on a Swagger-file with a GET request that need parameters in query string like this: /api/users?name=alex&surname=ferreli
React-hooks begin generated without question mark: /api/usersname=alex&surname=ferreli
Backend didn't understand the request and respond 404.
I expect that the API is called with question mark that separate URL from parameters.
Just a 404 on DevTools because of wrong generated URL
Operating System: Windows 10 Package Version: latest, v6.8.1 Browser Version: Chrome 103
The text was updated successfully, but these errors were encountered:
Hello @Neosyn-Alex-Ferreli, I am not sure to understand it's either handled by axios or your mutator so I don't have any control over this
Sorry, something went wrong.
Closing this as no response from OP and I have not had any issues with query params in any of my apps
Successfully merging a pull request may close this issue.
What are the steps to reproduce this issue?
Generate react-hooks based on a Swagger-file with a GET request that need parameters in query string like this:
/api/users?name=alex&surname=ferreli
What happens?
React-hooks begin generated without question mark:
/api/usersname=alex&surname=ferreli
Backend didn't understand the request and respond 404.
What were you expecting to happen?
I expect that the API is called with question mark that separate URL from parameters.
Any logs, error output, etc?
Just a 404 on DevTools because of wrong generated URL
What versions are you using?
Operating System: Windows 10
Package Version: latest, v6.8.1
Browser Version: Chrome 103
The text was updated successfully, but these errors were encountered: