Skip to content

Commit ba623fd

Browse files
authoredAug 5, 2020
variables in FetcherParams
need to make sure `variables` is typed as any, since it comes in as an object literal, not a string. resolves #1632
1 parent 5044a19 commit ba623fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/graphiql/src/components/GraphiQL.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export type Maybe<T> = T | null | undefined;
7272
export type FetcherParams = {
7373
query: string;
7474
operationName: string;
75-
variables?: string;
75+
variables?: any;
7676
};
7777

7878
export type FetcherOpts = {

0 commit comments

Comments
 (0)