Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 0cdd645

Browse files
committed
Prettified readme
1 parent 3725da4 commit 0cdd645

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,11 @@ The `graphqlHTTP` function accepts the following options:
119119
provided, GraphQL's default spec-compliant [`formatError`][] function will be used.
120120

121121
Although the fields on the error provided to this function may vary (based on the error type), they will typically include:
122-
* **message:** the error message
123-
* **locations:** the location(s) in the Javascript code where the error ocurred
124-
* **path:** the path within the returned results where the error occurred (eg. in a schema violation error, the path to the part of the results that violated the schema)
125-
* **result:** the value which was returned by the resolver (if any)
122+
123+
- **message:** the error message
124+
- **locations:** the location(s) in the Javascript code where the error ocurred
125+
- **path:** the path within the returned results where the error occurred (eg. in a schema violation error, the path to the part of the results that violated the schema)
126+
- **result:** the value which was returned by the resolver (if any)
126127

127128
- **`customParseFn`**: An optional function which will be used to create a document
128129
instead of the default `parse` from `graphql-js`.

0 commit comments

Comments
 (0)