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

The source code URLs in the [API docs](https://graphql-js.org/api) are broken. The host is `undefined` instead of `github.com`. For example, https://graphql-js.org/api#ASTKindToNode links to https://undefined/graphql/graphql-js/blob/master/language/ast.ts#L191

Currently, we can't set root operation resolvers. We can only set resolvers for the fields of the root operations. This is in contrast to the object fields of a non-root...

Minimal repro: https://github.com/srmagura/graphql-repro The project was created with: ```shell npm create-vite@latest graphql-repro ``` Then I chose "Vanilla" and "TypeScript" at the prompts. Install the `graphql` npm package and add the...

after https://github.com/graphql/graphql-js/pull/3923 and https://github.com/graphql/graphql-js/pull/3501 dead code from [instanceOf](https://github.com/graphql/graphql-js/blob/main/src/jsutils/instanceOf.ts) is no longer tree shaked for browsers @IvanGoncharov wrote > Bundlers incorrectly replace (probably RegExp) process.env.NODE_ENV with "development" resulting in: > ```...

I am working with node and I have found an issue with this version: "graphql": "^16.7.1", "@apollo/server": "^4.7.5" When I run the command "npm run dev" the server shows the...

目前,Graphql 不支持中文字段,使用上略有不便。像 mysql、mongoDB 均支持多语言字段名,希望 Graphql 也跟进,以方便全球各语言用户。 machine translation: Currently, Graphql does not support Chinese fields, which is slightly inconvenient. Like mysql and mongoDB, they support multilingual field names, and I...

# Error in dev tools ![Screenshot from 2023-07-11 12-54-08](https://github.com/graphql/graphql-js/assets/120424696/4383609c-ce94-4a0a-92f9-2dbc108c67d3) ## Dependencies ![Screenshot from 2023-07-11 12-57-48](https://github.com/graphql/graphql-js/assets/120424696/bc6aebb5-9acd-4eba-89cb-64327f4f8032) ## Environments: - node: v18.16.0 - npm: 9.5.1 - yarn: 1.22.19 - pnpm: 8.3.1

I believe this thing is common, it's weird to import `.js` file when typescript files are imported/exported in `src` folder, and `tsc` should auto append the file extension for us,...

I noticed during some testing that sending queries with 10000 fragments causes a `RangeError: Maximum call stack size exceeded in OverlappingFieldsCanBeMergedRule` error to be thrown from `OverlappingFieldsCanBeMergedRule`. I was wondering...

I have made few load tests using same logic with and without fields with FieldResolver query with FieldResolver has 2x worse performance than without them field resolvers I used are...