Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichard authored Nov 21, 2017
1 parent f5f399b commit 3ee2fe3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ Usage with Relay Modern compat layer
```js
const commitMutation = require('relay-commit-mutation-promise/compat');
```

## Limitations
If one or more errors are returned in the mutation payload, the promise will be rejected with the first error. You should not use this library if you need access to more than on returned error.
## Accessing GraphQL errors
The error object returned in the rejected promise contains a `source` property which contains an array of the errors returned by the GraphQL server.

0 comments on commit 3ee2fe3

Please sign in to comment.