RFC 3 / Accepted

make `includeDeprecated` non nullable

Opened on
Merged on

At a glance

Project
GraphQL Spec
Identifier
#1142
Stage
RFC 3 / Accepted
Champion
@martinbonnin
Updated
2025-05-01
Latest activity
Pull request merged on
Source
Related RFCs

Pull request description


In the same spirit as https://github.com/graphql/graphql-spec/pull/1040, make includeDeprecated non-nullable in the introspection schema.

I don't think there is ever a reason to passe includeDeprecated: null?

Timeline

May 2025

  • Pull request merged on by leebyron
  • Advanced to RFC 3 on by leebyron
  • Discussed in GraphQL WG

    Lee and Benjie discussed the implementation of one-off features in GraphQL, Java, and GraphQL.js, with Benjie suggesting a final check before merging. They also discussed the prevention of skip and include on route subscription selection sets, with Benjie stating that it has already been merged into GraphQL.js. Lee expressed interest in revisiting subscriptions in general to improve clarity. Benjie then brought up the default value coercion rules, which he believed had been merged into GraphQL.js and was good to go. Martin added a discussion about making include deprecated, non-nullable, which Lee agreed to merge.

    Zoom summary · GraphQL WG · 2025-05-01

April 2025

  • Advanced to RFC 2 on by leebyron
  • Discussed in GraphQL WG

    The group discusses various approaches to handling nullability and error management in GraphQL schemas. They consider solutions involving new syntax (like asterisks) and directives. The main concerns are backward compatibility, tooling support, and migration paths. Participants express preferences for directive-based solutions (6 and 7) over syntax changes. Key issues to address include figuring out user stories for tooling with the asterisk approach and for code-first shops. The group also discusses several other pull requests that need review before the next spec cut. Martin's "include deprecated" proposal is advanced to RFC2, pending confirmation that it won't cause issues for Facebook's implementation.

    Zoom summary · GraphQL WG · 2025-04-03

March 2025