Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Cannot override useGETForQueries to use POST on one specific query #1276

Open
aej11a opened this issue May 26, 2020 · 0 comments
Open

Cannot override useGETForQueries to use POST on one specific query #1276

aej11a opened this issue May 26, 2020 · 0 comments

Comments

@aej11a
Copy link

aej11a commented May 26, 2020

Expected Behavior
Use fetchOptions to override useGETForQueries to use POST on one specific query.

Actual Behavior
POST override does not work, GET is still used for the query.

A simple reproduction
https://codesandbox.io/s/apollo-client-quick-setup-4dgq6?file=/src/index.js

This might be an Apollo Hooks issue.

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

No branches or pull requests

1 participant