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.

(graphcache) - fix cache type (#569)

* fix types for the cache paramter, this missed the new invalidate func

* follow other comment semantics

authored by

Phil Plückthun and committed by
GitHub
65e84c5d 8224bf37

+3
+3
exchanges/graphcache/src/types.ts
··· 102 102 /** invalidateQuery() invalidates all data of a given query */ 103 103 invalidateQuery(query: DocumentNode, variables?: Variables): void; 104 104 105 + /** invalidate() invalidates an entity */ 106 + invalidate(entity: Data | string): void; 107 + 105 108 /** updateQuery() can be used to update the data of a given query using an updater function */ 106 109 updateQuery( 107 110 input: QueryInput,