RFC X / Superseded

Limit uniqueness to `@skip`, `@include` and `@deprecated` directives

Opened on
Closed on

At a glance

Project
GraphQL Spec
Identifier
#471
Stage
RFC X / Superseded
Champion
@OlegIlyenko
Updated
2025-06-12
Latest activity
Marked as Superseded on
Source

Pull request description

This proposal directly relates to a discussion in https://github.com/facebook/graphql/issues/429. As was discussed at the latest WG meeting, I'm creating several alternative proposals. This one implements proposed solution 3. Limit the validation to only @skip and @include directives.

It limits the scope of "Directives Are Unique Per Location" to @skip and @include directives only.

This proposal is mutually exclusive with other alternative proposals:

  • [RFC] Limit uniqueness to @skip, @include and @deprecated directives (#471, this one)
  • [RFC] Limit directive uniqueness to explicitly marked directives (#472)

@leebyron @IvanGoncharov @jjergus I would appreciate your reviews.

Closes #429

Timeline

June 2025

January 2020

October 2018

September 2018

  • On the agenda for GraphQL WG

    13 listed attendees · 10 agenda items · 7 linked RFCs

    • Opening of the meeting
    • Introduction of attendees
    • Review agenda (5m)
    • Determine volunteers for note taking (5m)
    • Discussion of Allowing singular variables for lists (10m) #509
    • Discussion of Variable Definition Directives (5m) #510
    • Update on #429 - limiting the scope of "Directives Are Unique Per Location" validation. (OI 10m) #470 #471 #472
    • Update on Compatibility Acceptance Tests (CATs). (OI 10m)
    • Proposal to support description on Schema (IG 5m) #466
    • Next steps for "Define custom scalars in terms of built-in scalars" (spec changes, graphql-js) (IG 15m) #326

June 2018