graphql-js icon indicating copy to clipboard operation
graphql-js copied to clipboard

A reference implementation of GraphQL for JavaScript

Results 342 graphql-js issues
Sort by recently updated
recently updated
newest added

Given the following operation: ```graphql query { ... @defer { hero { nonNullName id } } ... @defer { hero { nonNullName name } } } ``` If `nonNullName` returns...

PR: bug fix 🐞

fixes https://github.com/graphql/graphql-js/issues/3918 https://github.com/graphql/graphql-js/issues/3925 `globalThis.process` and `globalThis.window` is a syntax that doesn't eliminated by webpack ## Input ```js function TRY() { if (process.env.NODE_ENV !== 'production') { // is dev console.log(111) //...

In the docs for the language section of the module https://graphql.org/graphql-js/language/ There are two undocumented types needed by callers: `Document` returned by `parse()` https://graphql.org/graphql-js/language/#parse the AST node (mentioned as _value_)...

Hi, I was working with input fields' default values in [graphql-core](https://github.com/graphql-python/graphql-core/issues/196) and I encountered a problem with a combination of recursive inputs and default values which also occurs in `graphql-js`....

What is the official recommendation from the graphql org team on CDN caching? With Graphql inherently being a HTTP POST, it makes it rather hard to set up CDN caching...

I created a rule that visits a fragment's selectionSet when it encounters a FRAGMENT_SPREAD. The rule itself worked as desired, however doing so caused NoUnusedVariablesRule to fail if a variable...

I am using the latest version of npm, graphql and react. but when starting my program I get a bunch of errors(all of them are as follows) ERROR in ./node_modules/@aws-amplify/api-graphql/node_modules/graphql/language/printer.mjs...

https://github.com/graphql/graphql-js/blob/04e948bbc4972ddeb61443fab540e03fdff457b4/src/utilities/getIntrospectionQuery.ts#L70-L72 The query needs to select `kind` for each of these in order for the result to match the defined `IntrospectionQuery` type https://github.com/graphql/graphql-js/blob/04e948bbc4972ddeb61443fab540e03fdff457b4/src/utilities/getIntrospectionQuery.ts#L172-L178 https://github.com/graphql/graphql-js/blob/04e948bbc4972ddeb61443fab540e03fdff457b4/src/utilities/getIntrospectionQuery.ts#L293-L298

It's desirable to represent an ID on the server as a `bigint` instead of a `number`. Currently, the ID scalar type supports serializing `number` to `string`, but not `bigint`. I'd...

It seems there is no validation for the argument types of custom schema directives. Passing an argument with the wrong type to a custom schema directive doesn't throw an error...