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

(persisted) - Add enforcePersistedQueries option to persistedFetchExchange #1358

Merged
merged 3 commits into from
Feb 3, 2021

Conversation

kitten
Copy link
Member

@kitten kitten commented Feb 2, 2021

Resolve #1195

Summary

This adds an enforcePersistedQueries option to the persistedFetchExchange which will allow the exchange to assume that all queries will be persisted and non-automatic persisted queries are the norm.

Set of changes

  • Add enforcePersistedQueries option to persistedFetchExchange to disable retry logic
  • Add more information to the docs

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2021

🦋 Changeset detected

Latest commit: 837e96d

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-persisted-fetch 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

@kitten kitten changed the title Feat/enforced persisted queries (persisted) - Add enforcePersistedQueries option to persistedFetchExchange Feb 2, 2021
@kitten kitten merged commit 77fe772 into main Feb 3, 2021
@kitten kitten deleted the feat/enforced-persisted-queries branch February 3, 2021 23:07
@github-actions github-actions bot mentioned this pull request Feb 3, 2021
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.

RFC: persisted-fetch exchange retries on failure
2 participants