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

Add support for operation retries #439

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

koenpunt
Copy link

@koenpunt koenpunt commented Dec 15, 2023

The RetryLink from Apollo can retry operations, and does so by simply executing the operation object again.

The MultiAPILink determines which api to use from a directive in the document, but when processing the operation, the directive is removed, so when retrying the operation it will be executed on the default endpoint.

By storing the used api name in the context the operation can be retried with the correct endpoint, even when the directives are removed from the document.

There seems to be going wrong with the ESLint configuration, so I think that needs an update too.

By storing the used api name in the context the operation can be retried with the correct endpoint, even when the directives are removed from the document.
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.

None yet

1 participant