We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58a5d12 + dca27cb commit ff1c2f7Copy full SHA for ff1c2f7
src/client/prepare-document.ts
@@ -50,7 +50,7 @@ export const prepareFieldString = (
50
};
51
52
export const prepareRequest = (
53
- fields: AbstractField<any, any, any>[],
+ fields: AbstractField<any, any, any> | AbstractField<any, any, any>[],
54
type: GraphQlRequestType
55
): GraphQLDocument => {
56
const fieldsArray = Array.isArray(fields) ? fields : [fields];
0 commit comments