RFC: Persisted Fetch - support GET for hashed queries
See original GitHub issueSummary
New Persisted fetch exchange is awesome, but it is missing support for GET for hashed queries that prevents us from using it.
In our use-case we want to use standard POST queries when query is not persisted (to avoid super long urls which cause issues on some devices) but GET for persisted (hashed) queries so it can be cached on CDN. Apollo Client supports this behaviour with useGETForHashedQueries option
Proposed Solution
Implement useGETForHashedQueries
option similar to Apollo.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
RFC: Persisted Fetch - support GET for hashed queries ...
Summary New Persisted fetch exchange is awesome, but it is missing support for GET for hashed queries that prevents us from using it....
Read more >Persisted Queries Link - Apollo GraphQL Docs
If you want to use GET for non-mutation queries whether or not they are hashed, pass useGETForQueries: true option to HttpLink instead. If...
Read more >GraphQL, Auto Persisted Queries, CDN Support and ...
Client sends APQs request with a hash value of the query document, server lookup the query table for corresponding query document. if query...
Read more >RFC 8620: The JSON Meta Application Protocol (JMAP)
... Protocol (JMAP) Abstract This document specifies a protocol for clients to efficiently query, fetch, and modify JSON-based data objects, with support ......
Read more >Signing and authenticating REST requests
HMAC-SHA1 is an algorithm defined by RFC 2104 - Keyed-Hashing for Message ... For a request that does not address a bucket, such...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This has just been released: https://github.com/FormidableLabs/urql/releases/tag/%40urql%2Fexchange-persisted-fetch%401.0.0 Do take care as it’s a small breaking change in how the exchange is instantiated 😉
Thank you