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

addSchemaLevelResolveFunction resolves once per operation type #220

Merged
merged 8 commits into from
Dec 13, 2016

Conversation

rricard
Copy link
Contributor

@rricard rricard commented Dec 2, 2016

Basically, we isolate here the "run once" between possible operations instead of having them for all of the operations. Sometimes, a race condition could indeed mess with the root value of a subscription. We ensure this does not happen here.

This should fix #218

Or more commonly named addSchemaLevelResolveFunction...

Basically, we isolate here the "run once" between possible operations instead of having them for all of the operations. Sometimes, a race condition could indeed mess with the root value of a subscription. We ensure this does not happen here.
@zol zol added the in progress label Dec 2, 2016
@rricard
Copy link
Contributor Author

rricard commented Dec 3, 2016

I have a fix for the subscriptions now...

@helfer
Copy link
Contributor

helfer commented Dec 13, 2016

Nice, thanks @rricard !

@helfer helfer merged commit 38311ed into master Dec 13, 2016
@helfer helfer deleted the fix-218 branch December 13, 2016 06:49
@rricard
Copy link
Contributor Author

rricard commented Dec 13, 2016

@pschupp01 - it's merged! Once they cut a release, you can use the patch...

@helfer
Copy link
Contributor

helfer commented Dec 13, 2016

@rricard I think I already released it 😉

@rricard
Copy link
Contributor Author

rricard commented Dec 13, 2016

awesome! We can re-add optics!

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.

addSchemaLevelResolveFunction doesn't properly isolate root values of query mutations and subscriptions
3 participants