Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

OptimisticMutationResolver could return scalar (#1765)

authored by

Yoshihiro Nakamura and committed by
GitHub
891a17a0 d80b5243

+6 -1
+5
.changeset/quiet-pants-refuse.md
··· 1 + --- 2 + '@urql/exchange-graphcache': minor 3 + --- 4 + 5 + Fixed typing of OptimisticMutationResolver.
+1 -1
exchanges/graphcache/src/types.ts
··· 190 190 191 191 export type OptimisticMutationResolver< 192 192 Args = Variables, 193 - Result = Link<Data> 193 + Result = Link<Data> | Scalar 194 194 > = { 195 195 bivarianceHack(vars: Args, cache: Cache, info: ResolveInfo): Result; 196 196 }['bivarianceHack'];