( queryClient: QueryClient, options: MutationOptions<any, any, TVariables, any>, variables: TVariables, )
| 11 | } |
| 12 | |
| 13 | export function executeMutation<TVariables>( |
| 14 | queryClient: QueryClient, |
| 15 | options: MutationOptions<any, any, TVariables, any>, |
| 16 | variables: TVariables, |
| 17 | ) { |
| 18 | return queryClient |
| 19 | .getMutationCache() |
| 20 | .build(queryClient, options) |
| 21 | .execute(variables) |
| 22 | } |
| 23 | |
| 24 | // This monkey-patches the isServer-value from utils, |
| 25 | // so that we can pretend to be in a server environment |
no test coverage detected
searching dependent graphs…