[IDP-2107] Add React Query Plugin #112
Annotations
2 errors
tests/react-query/react-query.test.ts > react-query-plugin > generates simple TODO client:
packages/create-schemas/tests/react-query/react-query.test.ts#L122
Error: Snapshot `react-query-plugin > generates simple TODO client 1` mismatched
- Expected
+ Received
@@ -1,8 +1,8 @@
"import { createContext, useContext } from "react";
import { useQuery, useSuspenseQuery, useMutation, type UseQueryResult, type UseQueryOptions, type UseSuspenseQueryResult, type UseMutationResult, type UseMutationOptions, type QueryKey, type QueryClient, type FetchQueryOptions, type UseSuspenseQueryOptions } from "@tanstack/react-query";
- import { OpenAPIClient, internal_fetch } from "@workleap/create-schemas/plugins/client-plugin/base-client";
+ import { OpenAPIClient, internal_fetch } from "@workleap/create-schemas/plugins/react-query-plugin/openapi-client";
export { OpenAPIClient };
const TodoAPIClient = createContext(new OpenAPIClient());
❯ tests/react-query/react-query.test.ts:122:28
|
build
Process completed with exit code 1.
|