We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffc513 commit 4c58d41Copy full SHA for 4c58d41
README.md
@@ -25,7 +25,7 @@ const resolvers = { hello: () => 'world' }
25
26
const schema = buildASTSchema(typeDefs)
27
28
-console.log(await graphql(schema, query, resolvers))
+console.log(await graphql({ schema, source: query, rootValue: resolvers }))
29
```
30
31
[releases]: https://img.shields.io/github/v/release/deno-libs/graphql-tag?style=flat-square
0 commit comments