Skip to content

hasOptimisticUpdate returns true after mutation is applied #86

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

Closed
barbuza opened this issue Aug 17, 2015 · 2 comments
Closed

hasOptimisticUpdate returns true after mutation is applied #86

barbuza opened this issue Aug 17, 2015 · 2 comments
Assignees
Labels

Comments

@barbuza
Copy link

barbuza commented Aug 17, 2015

hasOptimisticUpdate returns true after mutation is applied if optimistic update data equals to real one. easy to get this behaviour in provided relay-treasurehunt example by adding hasTreasure: false to hidingSpot in CheckHidingSpotForTreasureMutation.getOptimisticResponse

@yuzhi
Copy link
Contributor

yuzhi commented Aug 17, 2015

Thanks for reporting this. This is mainly caused by not triggering an render when the optimistic node is no longer optimistic. We are aware of this and will be fixing it soon.

@yungsters
Copy link
Contributor

This was fixed by 3e27531.

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

No branches or pull requests

3 participants