graphql-js
graphql-js copied to clipboard
A reference implementation of GraphQL for JavaScript
This makes id an immutable property of each pending result, reducing the need to track these ids / lazily create them within the publisher. ## Spec changes This would change...
when early execution is disabled, the shouldDefer logic has a subtle bug see: https://github.com/graphql/defer-stream-wg/discussions/84#discussioncomment-8280294 depends on #4112
Hi, after upgrading to 16.9.0 our utility function for building enums shows a typescript error (using noImplicitAny). The function looks as follows: ``` export function buildStringEnum(name: string, values: { [key:...
This is now ready for review. Current AreTheTypesWrong output: ```sh graphql v16.7.0 No problems found 🌟 "graphql/language/ast.js" node10: 🟢 node16 (from CJS): 🟢 (CJS) node16 (from ESM): 🟢 (ESM) bundler:...
In `graphql-js v16` property becomes nested `error.originalError.originalError` in `toNormalizedOptions`, but should be just `error.originalError`. Added condition to check if `error` instance of `GraphQLError` then just return `args[4].originalError`. Issue happens in...
Title: Update README with Link to New API Documentation. Fixes Fixes #3979 Description: This contribution addresses issue #3979 by enhancing the README file of the main repository with a link...
In a github repo **Issue** there are 3 ways to insert a link to another issue, PR, e.t.c, for example: - #3231 - 1: a Reference in a list #3231...
When you have a scalar with a `serialize` function that returns an object, it is not possible to convert it to AST. So it doesn't allow you to print a...
Fixes https://github.com/graphql/graphql-js/issues/4085 Closes https://github.com/graphql/graphql-js/pull/4086 This PR introduces a new function called `astFromValueUntyped` that creates an AST without a type. This function is needed because if a custom scalar returns an...
Related https://github.com/graphql/graphql-js/issues/4085