Skip to content

Support operations with client directives #77

Description

@rccc

Hello,

I am trying to use directives :

query MyQuery($withNames: Boolean!, $withDescriptors: Boolean!) {
  molecule(limit: 5) {
    ...names @include(if: $withNames)
    ...descriptors @include(if: $withDescriptors) 
  }
}

but vendor/bin/sailor says:

"Variable \"$withNames\" is never used in operation \"MoleculeExport\"
"Variable \"$withDescriptors\" is never used in operation \"MoleculeExport\"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error within Sailor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions