Closed vedmalex closed 6 years ago
so i have directive with variables directive @url(root: String!) on FIELD with simple resolver:
directive @url(root: String!) on FIELD
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) }
query($url: String!) { foo @url(root:$url) }
so i have directive with variables
directive @url(root: String!) on FIELD
with simple resolver:so it should work with query variables binding like that
query($url: String!) { foo @url(root:$url) }