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

Introduce explicit re-fetch query for mutation operation. #504

Merged
merged 15 commits into from
May 27, 2017

Conversation

sav007
Copy link
Contributor

@sav007 sav007 commented May 20, 2017

Introduce API to explicit specify queries to be re-fetched after mutation completed.

Part of #452

Introduce separate interfaces for query and mutation calls.
Generate OperationName type for operations to be used as identifier for refetching.
Introduce API to explicit specify queries to be re-fetched after mutation completed.
@@ -85,6 +87,8 @@
return null;
}
} else {
Map tmp = new HashMap(lruCache.asMap());
tmp = tmp;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this used for anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

shit sorry

@sav007
Copy link
Contributor Author

sav007 commented May 25, 2017

@BenSchwab @digitalbuddha any comments?

@sav007 sav007 merged commit f674d61 into apollographql:master May 27, 2017
@sav007 sav007 deleted the feature-452/refetch-query-prepare2 branch May 27, 2017 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants