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

fix: Make DataProxyReadQueryOptions generic in @apollo/react-hooks #3672

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CSNWEB
Copy link

@CSNWEB CSNWEB commented Dec 11, 2019

DataProxyReadQueryOptions is used with a generic type in other places (i.e. readQuery in line 1023), so flow threw an error.

I think people who worked previously on this were: @ganemone and @pascalduez

DataProxyReadQueryOptions is used with a generic type in other places (i.e. readQuery in line 1023), so flow threw an error.
@CSNWEB CSNWEB changed the title Fix - Make DataProxyReadQueryOptions generic fix: Make DataProxyReadQueryOptions generic Dec 11, 2019
@CSNWEB CSNWEB changed the title fix: Make DataProxyReadQueryOptions generic fix: Make DataProxyReadQueryOptions generic in @apollo/react-hooks Dec 11, 2019
@CSNWEB
Copy link
Author

CSNWEB commented Dec 11, 2019

I just realized that this causes more issues. Wondering if this should be generic and fixed everywhere down the line or if I should remove the generic type annotation from everything using DataProxyReadQueryOptions?

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

Successfully merging this pull request may close these issues.

None yet

2 participants