graphql-spec
graphql-spec copied to clipboard
GraphQL is a query language and execution engine tied to any backend service.
With growing popularity of IDL as a way to define a GraphQL schema, I think it would be quite beneficial to expose directive information via introspection API. From what I...
I hope I have just missed it, but it seems there is now way to make a graphql client forward compatible so that a server can add a new type...
Resolves https://github.com/graphql/graphql-spec/issues/577 This change adds the proposed addition by @leebyron from https://github.com/graphql/graphql-spec/issues/577#issuecomment-519226398
If an interface contains more than a few properties and is used in multiple places, you end up with a very significant amount of repetition that clutters up your schema....
Right now the spec says that, for example, if the schema does not define a mutation root type, then the schema does not support mutations. But there's no validation rule...
**UPDATE: 2025-05-01** There are various parts of the spec that relate to a concept of "execution": - "before execution begins" defines the boundary between request error/field error - "the request...
[You can read a fuller version of the RFC here.](https://github.com/twof/graphql-spec/pull/1) # TL;DR: This RFC proposes new syntax for GraphQL clients to express that fields in an operation are **non-null**. ##...
You can read the rendered RFC at https://github.com/graphql/graphql-wg/blob/main/rfcs/OptInFeatures.md Symmetrically to `@deprecated`, was it ever considered to add an `@requiresOptIn` directive? ```graphql """ Indicates that the given field, argument, input field...
Cf. https://github.com/graphql/graphql-spec/pull/373#issuecomment-375489730 ```graphql # generic types interface Node { id: ID! } interface Connection { pageInfo: PageInfo! edges: [Edge] } interface Edge { cursor: String node: Node } type PageInfo...
Rendered proposal: https://github.com/graphql/graphql-wg/blob/main/rfcs/ClientControlledNullability.md Spec Implementation: https://github.com/graphql/graphql-js/pull/3281 Working Group Action Item: https://github.com/graphql/graphql-wg/issues/694 Known issues: https://docs.google.com/document/d/10MmZbzfPtk8GoAeSVm_m9ng8Aj10LBXVIQwkpjti6CQ/edit?usp=drivesdk