diff --git a/README.md b/README.md index 7b62332..92c2f7b 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ The only *REQUIRED* variable to date is `actionType` - `actionRollbackSuffix` - Suffix of the action type when a rollback occurs _Default: "ROLLBACK"_ - `options` - Suffix of the action type when a rollback occurs _Default: "ROLLBACK"_ - `payloadFormatter(payload)` Optional Function to format the response coming back from GraphQL on a successful retrieval. `payload` is provided as a parameter. This function returns back the modified data. This is a good place to run data normalizations - - + - `errorsCheck(result)` Optional Function to give the client the choice for whether it should throw an error if errors are present on GraphQL response. It throws an error by default if function is not provided. + - `parseAndHandleHttpResponse(operation, result)` Optional Function to give the client the choice for whether it should throw an error if there's an HTTP/GraphQL schema error present on GraphQL response. It throws an error by default if the function is not provided. ---