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.
1 parent 6504907 commit ac7a99fCopy full SHA for ac7a99f
src/utilities/__tests__/buildASTSchema.js
@@ -20,9 +20,9 @@ import { buildASTSchema } from '../buildASTSchema';
20
* into an in-memory GraphQLSchema, and then finally
21
* printing that GraphQL into the DSL
22
*/
23
-function cycleOutput(body, queryType, mutationQuery) {
+function cycleOutput(body, queryType, mutationType) {
24
var ast = parseSchemaIntoAST(body);
25
- var schema = buildASTSchema(ast, queryType, mutationQuery);
+ var schema = buildASTSchema(ast, queryType, mutationType);
26
return '\n' + printSchema(schema);
27
}
28
0 commit comments