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: add bindings for @urql/exchange-persisted-fetch and @urql/exchange-refocus #251

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

parkerziegler
Copy link
Contributor

This PR adds bindings for two more exchanges 🎉:

  1. @urql/exchange-persisted-fetch
  2. @urql/exchange-refocus

The diff is a touch wonky because I did some additional reorganization, including organizing exchanges alphabetically in source, tests, and docs. Rest assured, there were no changes to any of the other recently bound exchanges, just moving them around.

With respect to the persistedFetchExchange, I left out a more extensive binding for DocumentNode in favor of a type parameter, because a full DocumentNode binding is way outside the scope of this library. This way, users can annotate the node for the access pattern they have (be it document.documentId or something else).

@parkerziegler parkerziegler merged commit 6d9365d into main Jan 19, 2021
@parkerziegler parkerziegler deleted the feat/add-refocus-and-persisted-fetch-exchanges branch January 19, 2021 04:35
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.

1 participant