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

Generic subscribeToMore variables #4653

Merged
merged 3 commits into from
Apr 6, 2019
Merged

Conversation

LarsJK
Copy link
Contributor

@LarsJK LarsJK commented Apr 1, 2019

Support using different variables in subscribeToMore the the variables the query has.

Right now the type hinting for subscribeToMore reuses the query variables type (TVariable). This means that the subscription we use in subscribeToMore has to take the same variables as the query.

By making it generic it is possible to use subscriptions that take other variables.

Support using different variables in subscribeToMore the the variables the query has.
@LarsJK
Copy link
Contributor Author

LarsJK commented Apr 2, 2019

Not sure why the test fails. It works locally.

Copy link
Member

@benjamn benjamn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that test failure doesn't make sense given these changes. Let's see if the merge commit passes tests.

@benjamn benjamn merged commit 5a52c23 into apollographql:master Apr 6, 2019
benjamn added a commit that referenced this pull request Apr 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants