graphql-js
graphql-js copied to clipboard
A reference implementation of GraphQL for JavaScript
Implements Option A from https://github.com/graphql/defer-stream-wg/discussions/80
Based on our benchmarks, latest implementation is up to 50% slower than the one in last 17 alpha. The slowness is based on extra work done after `collectFields` - `buildFieldPlan`....
Using the AST provided by the library, I'm doing some introspection on the queries to extract the default values passed in to a query. I noticed that the `IntValueNode` and...
Backports the fix from https://github.com/graphql/graphql-js/pull/3442 into the v15.x tree.
When this library is used in the Nuxt 3 project and compiled for Cloudflare it fails like this: ``` ℹ Building Nitro Server (preset: cloudflare-pages) nitro 19:16:00 (inject plugin) rollup-plugin-inject:...
# Questions regarding how to use GraphQL given this schema : ```gql type Query { getUser(id: ID!): User } type User { id: ID! username: String! posts: [Post!]! } type...
We're winding down work on CCN in favor of True Schema Nullability. More context: https://github.com/graphql/nullability-wg/issues/37
issue-:#4001
### Context Hi there. We're using `graphql-js` and serving subscriptions over WebSocket via [`graphql-ws`](https://github.com/enisdenjo/graphql-ws) (as recommended by Apollo for both server and client). In our subscriptions' `subscribe` methods, we always...
Group field sets should be properly consolidated when some of the fields in a sibling defer are masked by parent fields.