Skip to content

Commit

Permalink
Merge pull request #169 from patrickr/patch-1
Browse files Browse the repository at this point in the history
docs(readme): document fieldResolver option
  • Loading branch information
schickling authored Feb 14, 2018
2 parents 2234c88 + a0eac00 commit d8a09ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Additionally, the `options` object exposes these `apollo-server` options:
| `logFunction` | LogFunction | A function called for logging events such as execution times |
| `rootValue` | any | RootValue passed to GraphQL execution |
| `validationRules` | Array of functions | DAdditional GraphQL validation rules to be applied to client-specified queries |
| `fieldResolver` | GraphQLFieldResolver | Provides information about upload limits; the object can have any combination of the following three keys: `maxFieldSize`, `maxFileSize`, `maxFiles`; each of these have values of type Number; setting to `false` disables file uploading |
| `fieldResolver` | GraphQLFieldResolver | Specifify a custom default field resolver function
| `formatParams` | Function | A function applied for each query in a batch to format parameters before execution |
| `formatResponse` | Function | A function applied to each response after execution |
| `debug` | boolean | Print additional debug logging if execution errors occur |
Expand Down

0 comments on commit d8a09ab

Please sign in to comment.