Skip to content

it should support query variable binding #5

Closed
@vedmalex

Description

@vedmalex

so i have directive with variables
directive @url(root: String!) on FIELD
with simple resolver:

async url(resolve, source, directiveArgs) {
  return url.resolve(directiveArgs.root, await resolve())
},

so it should work with query variables binding like that
query($url: String!) { foo @url(root:$url) }

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