Skip to content

Top level fields with skip/include directives ignored #65

@jeggy

Description

@jeggy

the directives are ignored if they are on top level fields.

Here's an example that would return both people and otherData:

query {
  people @skip(if: true) {
    ...
  }
  otherData @skip(if: false) {
    ...
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions