Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Feat/mutation error policy #127

Merged
merged 4 commits into from
Jun 20, 2020
Merged

Feat/mutation error policy #127

merged 4 commits into from
Jun 20, 2020

Conversation

mbirkegaard
Copy link
Collaborator

@mbirkegaard mbirkegaard commented May 25, 2020

@@ -64,6 +64,8 @@ type options('a) = {
[@bs.optional]
optimisticResponse: Js.Json.t,
[@bs.optional]
errorPolicy: string,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, probably just leave a link for defining it as a poly. variant in some next PR?
https://www.apollographql.com/docs/react/data/error-handling/#error-policies

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #132.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update useMutation examples
2 participants