Comments (2)
@cshadek Could you provide a more fleshed-out code example that displays the race conditions and unexpected results?
I did some initial testing and was unable to create the data races/unexpected results you describe. The "like" was always added, removed, and then added again without any ID conflict.
Note that while the top-level mutations execute in series, the GraphQL resolution pattern (concurrent or serial) is always outer-to-inner, so the ....
field resolvers are not guaranteed to run before the next mutation occurs. The spec reflects this by specifying that only the top level selection set
of the mutation is run serially.
from graphql.
Resolved by #124
from graphql.
Related Issues (20)
- AsyncThrowingStream.mapStream produces leaks and loses error during transformation HOT 1
- Custom Schema Directives? HOT 1
- Disabling introspection e.g. in production HOT 6
- GraphQLError missing `extensions` HOT 2
- client library
- Create queries/mutations from GraphQL schema
- Grt
- Preserve result order HOT 3
- False positive with no unused variable rule HOT 3
- GraphQL parser does not support optional `Description`s.
- GraphQL doesn't support "Blockstrings" which are often used in Descriptions.
- GraphQL parser does not seem to have support for the '&' character HOT 2
- intValue() always throws exception HOT 1
- 0 default value for argument is interpreted as false and can not be used HOT 2
- Is this library single-threaded only? HOT 3
- GraphQL doesn't compile on Linux Swift 5.4 HOT 5
- Is async/await supported?
- Error "Must be leaf type" in listValue HOT 1
- Is there a way to validate a document with custom validation rules? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql.