graphql-js
graphql-js copied to clipboard
A reference implementation of GraphQL for JavaScript
Fixes #3685 Since we decide to get rid of TS enums in v17 anyway just add this workaround to v16
Looks like at Version 16, the `graphql` module stopped functioning in CodeSandbox. Any import statement will throw the TypeError `Cannot read properties of undefined (reading 'FIELD')` Has anyone had any...
See: https://github.com/graphql/graphql-spec/pull/950
A `package.json` top-level field `type` with a value of `module` should make modules load as ES modules. When I used that with graphql, I expected this to work (it didn't):...
`graphql-js` lets you run the entire GraphQL operation with a single `graphql` function, or break it apart into different steps (`parse`, `validate`, `execute`) if you want a bit more control...
`execute` no longer runs the query algorithm for subscription operations. Rather, subscription operations are performed, as per the spec. `subscribe` and `createSourceEventStream` are removed. See additional comments below.
Fixes #3528 Ensures that if `executeFields` encounters a mix of promises and thrown errors, the promises will be awaited before throwing the error. This does technically change `executeFields` to return...
Fixes #3528 This PR is a clone of #3529, which is currently held up by CLA approvals. Full credit goes to @asztal for identifying and fixing the underlying issue. @hobby203,...
Bumps [terser](https://github.com/terser/terser) from 5.14.1 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...
A super early draft of a class to Anonymise graphql documents and matching values in 3rd-party files. Context: I have a report of performance degradation but can't access schema and...