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] almost 4 years ago
NextPage
typings, by @wgolledge (See #1294)withUrqlClient
fast-refresh detection, by @JoviDeCroock (See #1302)Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
last
argument would be in reverse order, by @JoviDeCroock (See #1311)Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
cache.invalidate
, by @JoviDeCroock (See #1269)Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
cache.resolve(parent, ...)
case to enable even more cases, for instance where parent.__typename
isn't set yet. This was intended to be enabled in the previous patch but has been forgotten, by @kitten (See #1219)cache.resolveFieldByKey
in favour of cache.resolve
, which functionally was already able to do the same, by @kitten (See #1219)Published by github-actions[bot] almost 4 years ago
cache
methods, for instance cache.resolve
, to consistently accept the parent
argument from resolvers
and updates
and alias it to the parent's key (which is usually found on info.parentKey
). This usage of cache.resolve(parent, ...)
was intuitive and is now supported as expected, by @kitten (See #1208)Published by github-actions[bot] almost 4 years ago
graphql
dependency being postfixed with .mjs
when building the package, by @JoviDeCroock (See #1204)Published by github-actions[bot] almost 4 years ago
query
results are being updated by the cacheExchange
, to apply resolvers. Specifically this may lead to relations from being set back to null
when the resolver returns a different list of links than the result, since some null
relations may unintentionally exist but aren't related. If you're using relayPagination
then this fix is critical, by @kitten (See #1196)Published by github-actions[bot] almost 4 years ago
gql
tag function helper to @urql/core
. This behaves similarly to graphql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes @urql/core
's key cache with the parsed DocumentNode
, by @kitten (See #1187)suspense: false
to options when executeQuery
is called explicitly, by @kitten (See #1181)Published by github-actions[bot] almost 4 years ago
gql
tag function helper to @urql/core
. This behaves similarly to graphql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes @urql/core
's key cache with the parsed DocumentNode
, by @kitten (See #1187)Published by github-actions[bot] almost 4 years ago
__typename
field is added to results. Instead of__typename
field will now be added along withwrite
operation now automatically issues a warning if __typename
__typename
field"Query"
, by @kitten (See #1185)graphql/utilities/buildClientSchema.mjs
with a custom-tailored, lighter implementation@urql/exchange-graphcache
. This will appear to increase its size by about 0.2kB gzip
8.5kB gzip
to 9.4kB gzip
in any production bundle by using less ofgraphql
's code, by @kitten (See #1189)Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
gql
tag function helper to @urql/core
. This behaves similarly to graphql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes @urql/core
's key cache with the parsed DocumentNode
, by @kitten (See #1187)Published by github-actions[bot] almost 4 years ago
gql
tag function helper to @urql/core
. This behaves similarly to graphql-tag
but only warns about locally duplicated fragment names rather than globally. It also primes @urql/core
's key cache with the parsed DocumentNode
, by @kitten (See #1187)suspense: false
to options when executeQuery
is called explicitly, by @kitten (See #1181)Published by github-actions[bot] almost 4 years ago
mergeMode: 'before' | 'after'
option to the simplePagination
helper to define whether pages are merged before or after preceding ones when pagination, similar to relayPagination
's option, by @hoangvvo (See #1174)Published by github-actions[bot] almost 4 years ago
undefined
to any property of the ssrExchange
's serialized results, as this would crash in Next.js, by @JoviDeCroock (See #1168)Published by github-actions[bot] almost 4 years ago
useQuery
to resolve the lazy promise for Vue Suspense to the latest result that has been requested as per the input to useQuery
, by @kitten (See #1162)useQuery
by turning isPaused
into a ref again, by @LinusBorg (See #1155)PromiseLike
on the returned state passive, by @kitten (See #1159)