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

Evaluate alternative GraphQL clients #209

Open
nathanielrindlaub opened this issue Mar 14, 2024 · 0 comments
Open

Evaluate alternative GraphQL clients #209

nathanielrindlaub opened this issue Mar 14, 2024 · 0 comments
Labels
API client dependencies Pull requests that update a dependency file

Comments

@nathanielrindlaub
Copy link
Member

We chose graphql-request originally because it was lightweight and flexible, but now that we've migrated to Apollo Server v4 a few new needs have come up that graphql-request doesn't fully support:

  1. a clean way to handle network errors (see [Discussion] Better error handling graffle-js/graffle#5)
  2. graphql-request does support aborting in-flight requests (Implement request cancellation #205), but it may be challenging to store AbortController instances in Redux state

Some alternatives to consider are:

@nathanielrindlaub nathanielrindlaub added API client dependencies Pull requests that update a dependency file labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API client dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant