Skip to content

refactor: add types for mutation errors#303

Draft
michael-small wants to merge 1 commit into
mainfrom
typedMutationError
Draft

refactor: add types for mutation errors#303
michael-small wants to merge 1 commit into
mainfrom
typedMutationError

Conversation

@michael-small
Copy link
Copy Markdown
Collaborator

Closes #285

@michael-small michael-small self-assigned this May 13, 2026
onSuccess: (response) => {
console.log('Counter sent to server:', response);
},
// TODO - In the current state, parsing for the error does not narrow unless either
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Provided this is the behavior we think makes sense, then I just need to add a test at this point. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mutations: specifying the type for errors

1 participant