Skip to content

Commit

Permalink
docs(readme): document fieldResolver option
Browse files Browse the repository at this point in the history
closes  #164
  • Loading branch information
lora-reames authored Feb 14, 2018
1 parent 2234c88 commit a0eac00
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 a0eac00

Please sign in to comment.