diff --git a/lib/graphQl/resolvers.js b/lib/graphQl/resolvers.js index fb99eae5..aaa542ff 100644 --- a/lib/graphQl/resolvers.js +++ b/lib/graphQl/resolvers.js @@ -101,7 +101,7 @@ resolvers.generateFieldsQueryFromAst = ast => { } resolvers.generateFilterQueryFromAst = ast => { - const arrays = (ast.fieldASTs || []).map(function (fieldAST) { + const arrays = (ast.fieldNodes || []).map(function (fieldAST) { return fieldAST.arguments || [ ] }) const combined = [].concat.apply([], arrays) diff --git a/package.json b/package.json index bd8b0f01..86c9bf7f 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "cookie-parser": "1.4.3", "debug": "3.1.0", "express": "4.16.2", - "express-graphql": "0.5.4", - "graphql": "0.7.2", + "express-graphql": "0.6.11", + "graphql": "0.11.7", "joi": "10.6.0", "lodash.assign": "4.2.0", "lodash.isequal": "4.5.0",