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 issue where if relay dedups requests, not all requests are completed #52

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

fracmak
Copy link
Contributor

@fracmak fracmak commented Oct 25, 2017

I've run into a scenario with Relay Classic where if you have 2 components that make the exact same query, Relay will dedup the queries and reuse the request ids but still make 2 requests. The batch code then loses track of all the duplicate requests being made and never resolves or rejects the duplicate requests

@fracmak fracmak force-pushed the duplicate-request-ids branch from e4fafcf to 6a170b9 Compare October 25, 2017 17:01
@nodkz nodkz merged commit 16516a3 into relay-tools:master Oct 25, 2017
@nodkz
Copy link
Collaborator

nodkz commented Oct 25, 2017

Great PR. Thanks! 👍
v2.0.2 on npm already 😉

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

Successfully merging this pull request may close these issues.

2 participants