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.

fix(core): Remove redundant suspense options change in client.query (#3083)

authored by

Phil Pluckthun and committed by
GitHub
e0c87ffa 087339b8

+4 -7
+4 -7
packages/core/src/client.ts
··· 783 783 return client.executeRequestOperation(operation); 784 784 }, 785 785 786 - query(query, variables, context) { 787 - if (!context || typeof context.suspense !== 'boolean') { 788 - context = { ...context, suspense: false }; 789 - } 790 - return client.executeQuery(createRequest(query, variables), context); 791 - }, 792 - 793 786 readQuery(query, variables, context) { 794 787 let result: OperationResult | null = null; 795 788 ··· 801 794 ).unsubscribe(); 802 795 803 796 return result; 797 + }, 798 + 799 + query(query, variables, context) { 800 + return client.executeQuery(createRequest(query, variables), context); 804 801 }, 805 802 806 803 subscription(query, variables, context) {