graphql-js
graphql-js copied to clipboard
A reference implementation of GraphQL for JavaScript
The publish method checks to see if a subsequent result is empty; this same logic should be employed to suppress pending notices for empty records. This has already been achieved...
abort async resolvers on errors TODO: connect return() and throw() events on returned iterators to abortion of resolvers for subscriptions/incremental delivery
I think it's not a question, it's a lack of feature which is necessary so please don't close this issue without any reply I use `graphql-ws` to subscribe to GraphQL...
This pull request introduces string references for GraphQL types, which aims to solve the problem with circular dependency between types in multiple files. Here's an usage example: ```ts type: new...
depends on #3993 adds judicious explicit checking for the expected extra ticks when fields are deferred. @robrichard -- these new tests all also pass with #3982 without any changes =>...
I am using `graphiql` with `spring-boot-graphql-starter`, however I am getting an error even with the simple schema. Can you please verify what is wrong with the response from introspection? Thank...
This is an implementation of https://github.com/graphql/graphql-spec/pull/860 The spec calls for a separate `CollectSubscriptionFields` algorithm due to executing without `variableValues`; but I figured that maintenance would be easier with the algorithms...
This PR implements GraphQL RFC https://github.com/graphql/graphql-spec/pull/1053; please see that PR for details.
# Details: * Instead of receiving the classic `parent, args, ctx` parameters, argument resolvers would receive `value` which formally corresponds to the value of the argument and `ctx` the context....
Right now, subscribe and execute are two functions. And there are some issues with that. 1. Semantically, subscription is a type of execution. In the spec, Query, Mutation and Subscription...