altair-graphql / altair

✨⚡️ A feature-rich GraphQL Client for all platforms.
https://altairgraphql.dev
MIT License
5.12k stars 316 forks source link

added http request handler #2550

Closed imolorhe closed 3 months ago

imolorhe commented 3 months ago

Migrate from subscription providers to request handlers. Subscription providers are specific to subscriptions while request handlers are generic and can handle any type of query. This allows us use the same logic for both subscriptions and streamed queries (e.g. from stream and defer directives).

One core part of how request handler works is that it uses different strategies to handle multiple responses (default is auto which uses best guess approach).

Checks

Changes proposed in this pull request:

Todos

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit 78efade):

https://altair-gql--pr2550-imolorhe-response-st-t54b6gxq.web.app

(expires Tue, 25 Jun 2024 20:24:20 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 02d6323d75a99e532a38922862e269d63351a6cf