Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(toe): Add @urql/exchange-throw-on-error #3677

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

XiNiHa
Copy link
Contributor

@XiNiHa XiNiHa commented Sep 16, 2024

Summary

Add @urql/exchange-throw-on-error, which makes accesses to properties of OperationResult.data throw if there are any errors associated to the field.

Set of changes

Adds the package and tests

Copy link

changeset-bot bot commented Sep 16, 2024

🦋 Changeset detected

Latest commit: d08799b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@urql/exchange-throw-on-error Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@XiNiHa XiNiHa force-pushed the feat/throw-on-error branch 2 times, most recently from 624671c to e75f303 Compare September 16, 2024 15:34
exchanges/throw-on-error/package.json Outdated Show resolved Hide resolved
@XiNiHa XiNiHa force-pushed the feat/throw-on-error branch 2 times, most recently from f38c661 to 2169190 Compare September 19, 2024 03:03
@JoviDeCroock
Copy link
Collaborator

Addressing the vitest thing in #3679

@JoviDeCroock JoviDeCroock merged commit 7d9302b into urql-graphql:main Sep 24, 2024
7 checks passed
@github-actions github-actions bot mentioned this pull request Sep 24, 2024
@XiNiHa XiNiHa deleted the feat/throw-on-error branch September 24, 2024 09:15
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.

2 participants