Skip to content

Directives support #78

@Kostanos

Description

@Kostanos

Hey, do you have support for directives? I didn't find it in the code yet.

ex: https://www.apollographql.com/docs/apollo-server/schema/directives/

It may make the library bigger, but maybe make it as optional plugin? so, if someone need it, just add it to the project.

In particular I use a lot something like this:

query Products($includeData: Boolean, $id: UUID!) {
  products(id: $id) {
    id
    name
    data @include(if: $includeData)
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions