You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
No GraphQL related network requests are made.
To Reproduce
I'm trying to upgrade my backend from Rails 6.1.7 to Rails 7.0.4 but once I upgrade, no network requests for GraphQL are made. I'm using @vue/apollo-composable 's useQuery. I would like to mention that nothing is cached, I did full reloads, restarted browser, the same. No error, not on the backend, not on the frontend.
What makes apollo not do network requests?
Apollo DevTools display the same issue (they work with Rails 6.1.7 and don't once I upgrade).
Expected behavior
GraphQL requests are made, my app works as with Rails 6.1.7.
Installed Postman, I can make the requests without issues. I tried in Firefox, Chrome and now Edge, no requests happen in any of them. Maybe it's worth noting that I'm serving the JS modules via Vite (vite_rails). But I'm using the same in Rails 6.
I'm suspecting some CORS or XSS header change on the backend makes Apollo not even try to do the requests.
The text was updated successfully, but these errors were encountered:
janosrusiczki
changed the title
After backend upgrade no GraphQL related network requests are made
No GraphQL network requests are made
Mar 19, 2023
Describe the bug
No GraphQL related network requests are made.
To Reproduce
I'm trying to upgrade my backend from Rails 6.1.7 to Rails 7.0.4 but once I upgrade, no network requests for GraphQL are made. I'm using @vue/apollo-composable 's useQuery. I would like to mention that nothing is cached, I did full reloads, restarted browser, the same. No error, not on the backend, not on the frontend.
What makes apollo not do network requests?
Apollo DevTools display the same issue (they work with Rails 6.1.7 and don't once I upgrade).
Expected behavior
GraphQL requests are made, my app works as with Rails 6.1.7.
Versions
vue: ^3.2.47
@apollo/client: ^3.7.10
@vue/apollo-composable: ^4.0.0-beta.4
More debugging.
Installed Postman, I can make the requests without issues. I tried in Firefox, Chrome and now Edge, no requests happen in any of them. Maybe it's worth noting that I'm serving the JS modules via Vite (vite_rails). But I'm using the same in Rails 6.
I'm suspecting some CORS or XSS header change on the backend makes Apollo not even try to do the requests.
The text was updated successfully, but these errors were encountered: