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

Missing question mark that separate URL from query string parameters #482

Closed
Neosyn-Alex-Ferreli opened this issue Jul 12, 2022 · 2 comments · Fixed by #1667
Closed

Missing question mark that separate URL from query string parameters #482

Neosyn-Alex-Ferreli opened this issue Jul 12, 2022 · 2 comments · Fixed by #1667
Labels
question Further information is requested
Milestone

Comments

@Neosyn-Alex-Ferreli
Copy link

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

@anymaniax anymaniax added the bug Something isn't working label Jul 12, 2022
@anymaniax
Copy link
Collaborator

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

@anymaniax anymaniax added question Further information is requested and removed bug Something isn't working labels Jul 17, 2022
@melloware
Copy link
Collaborator

Closing this as no response from OP and I have not had any issues with query params in any of my apps

@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2023
@melloware melloware added this to the 7.2.0 milestone Oct 19, 2024
@melloware melloware reopened this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants