0.1.1 • Published 4 months ago

@urql/exchange-throw-on-error v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

@urql/exchange-throw-on-error (Exchange factory)

@urql/exchange-throw-on-error is an exchange for the urql GraphQL client that makes field access to data throw an error if the field errored.

It is built on top of the graphql-toe package.

Quick Start Guide

First install @urql/exchange-throw-on-error alongside urql:

yarn add @urql/exchange-throw-on-error
# or
npm install --save @urql/exchange-throw-on-error