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.
2 parents 3278e86 + a747503 commit bf763b6Copy full SHA for bf763b6
README.md
@@ -89,8 +89,9 @@ var schema = new GraphQLSchema({
89
```
90
91
This defines a simple schema with one type and one field, that resolves
92
-to a fixed value. A more complex example is included in the top level
93
-[tests](src/__tests__) directory.
+to a fixed value. The `resolve` function can return a value, a promise,
+or an array of promises. A more complex example is included in the top
94
+level [tests](src/__tests__) directory.
95
96
Then, serve the result of a query against that type schema.
97
0 commit comments