The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 1 year ago
persistedExchange
if the passed generateHash
function resolves to a nullish value. This allows (A)PQ to be selectively disabled for individual operationsPublished by github-actions[bot] about 1 year ago
cacheExchange
’s new directives
option.@_optional
or @_required
, their resolvers from the directives
config are@_relayPagination
for example, by passing addingrelayPagination
helper to the config._
) is only visible to Graphcache and not the API.FormattedNode
/ formatDocument
functionality added to @urql/core
to slightly speed up directive processing by using the client-side _directives
dictionary that formatDocument
addsofflineExchange
to once again issue all request policies, instead of mapping them to cache-first
. When replaying operations after rehydrating it will now prioritise network policies, and before rehydrating receiving a network result will prevent a network request from being issued againOperationContext.optimistic
flag as an internal indication on whether a mutation triggered an optimistic update in @urql/exchange-graphcache
's cacheExchange
Published by github-actions[bot] over 1 year ago
^4.0.0
Published by github-actions[bot] over 1 year ago
maskTypename
to apply masking earlier in the chainssrExchange
not formatting query documents using formatDocument
. Without this call we'd run the risk of not having __typename
available on the client-side when rehydratingmaskTypename
option.Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
fetchSubscriptions
entry to OperationContext
. The Client’s fetchSubscriptions
now works properly and can be used to execute subscriptions as multipart/event-stream requestsfetchSource
not working for subscriptions since hasNext
isn’t necessarily setPublished by github-actions[bot] over 1 year ago
AbortController
invocation to previous behaviour where it used to be more forceful. It will now properly abort outside of when our generator yields results, and hence now also cancels requests again that have already delivered headers but are currently awaiting a response bodyPublished by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago
additionalTypenames
on subscriptions and re-execute queries for them as well, as one would intuitively expectisSubscriptionOperation
option in subscriptionExchange
to include teardown
operations, to avoid confusionPublished by github-actions[bot] over 1 year ago