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 [documentation for the GraphQLScalarType](https://github.com/graphql/graphql-js/blob/master/docs/APIReference-TypeSystem.md#graphqlscalartype) is outdated compared with the [current code](https://github.com/graphql/graphql-js/blob/74ce729eddf7c777a1c500d63f1c4fce35e9f1cf/src/type/definition.js#L676). For instance, `parseLiteal` takes a *valueNode* and a *variables* parameter instead of just one *valueAST* parameter (I think...

documentation

The [`IntrospectionInterfaceType`](https://github.com/graphql/graphql-js/blob/1bf71eeec71d26b532a3722c54d0552ec1706af5/src/utilities/getIntrospectionQuery.ts#L220-L231) includes the `possibleTypes` field, but when we call `buildClientSchema` with the introspection result provided, the `possibleType` is not used https://github.com/graphql/graphql-js/blob/1bf71eeec71d26b532a3722c54d0552ec1706af5/src/utilities/buildClientSchema.ts#L246-L255. This information, however, is useful for static analysis...

Test shows a case where the validator should pass, but currently fails. This is because we flatten inline fragments, and fragment names at the the selection level, but lose the...

CLA Signed

**UPDATE 2025-03-27**: updated to latest version of spec proposal: - https://github.com/graphql/graphql-spec/pull/1065 and rebased on top of: - #4364 Previous description **DISCLAIMER**: I'm _very_ jetlagged right now, and it's late. This...

analogue to __type implements https://github.com/graphql/graphql-spec/pull/1114

spec RFC

Depends on #3059 Defines a central `GraphQLInputValueConfig` and `GraphQLInputValue` as well as single definitions for converting between them, unifying this common functionality between input values and arguments. This is a...

First make sure that the included type is an object type, because that would be the more severe problem. Only then we can be sure that the type has a...

For example, sometimes we capitalize the types of GraphQL schema elements (e.g. Object type) and sometimes we do not. Sometimes we quote the type name, field name, etc, and sometimes...

Depends on #3086 Implements https://github.com/graphql/graphql-spec/pull/793/ * BREAKING: Changes default values from being represented as an assumed-coerced "internal input value" to a pre-coerced "external input value" (See chart below). This allows...

PR: breaking change 💥
spec RFC