Skip to content

Commit

Permalink
Merge pull request #336 from championswimmer/update_graphql
Browse files Browse the repository at this point in the history
update to use latest graphql  dependencies
  • Loading branch information
pmcnr-hx authored Nov 14, 2017
2 parents bbe97cf + 5d6651b commit 35d2201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/graphQl/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 35d2201

Please sign in to comment.