Skip to content

Instantly share code, notes, and snippets.

@gardner
Created July 25, 2017 08:39
Show Gist options
  • Save gardner/6a9515c0965d900287c0fb2a55693e04 to your computer and use it in GitHub Desktop.
Save gardner/6a9515c0965d900287c0fb2a55693e04 to your computer and use it in GitHub Desktop.
Error when trying to npm link join-monster
{ Error: Must be input type
at invariant (/Users/gardner/src/demo/join-monster/node_modules/graphql/jsutils/invariant.js:19:11)
at valueFromAST (/Users/gardner/src/demo/join-monster/node_modules/graphql/utilities/valueFromAST.js:156:125)
at getArgumentValues (/Users/gardner/src/demo/join-monster/node_modules/graphql/execution/values.js:144:57)
at Object.populateASTNode (/Users/gardner/src/demo/join-monster/dist/query-ast-to-sql-ast/index.js:100:21)
at Object.queryASTToSqlAST (/Users/gardner/src/demo/join-monster/dist/query-ast-to-sql-ast/index.js:60:19)
at /Users/gardner/src/demo/join-monster/dist/index.js:9:29
at next (native)
at step (/Users/gardner/src/demo/join-monster/dist/index.js:103:183)
at /Users/gardner/src/demo/join-monster/dist/index.js:103:437
at /Users/gardner/src/demo/join-monster/dist/index.js:103:99
at joinMonster (/Users/gardner/src/demo/join-monster/dist/index.js:37:17)
at resolve (/Users/gardner/src/demo/join-monster-demo/schema-paginated/QueryRoot.js:41:16)
at resolveOrError (/Users/gardner/src/demo/join-monster-demo/node_modules/graphql/execution/execute.js:474:12)
at resolveField (/Users/gardner/src/demo/join-monster-demo/node_modules/graphql/execution/execute.js:460:16)
at /Users/gardner/src/demo/join-monster-demo/node_modules/graphql/execution/execute.js:275:18
at Array.reduce (native)
message: 'Must be input type',
locations: [ { line: 16, column: 3 } ],
path: [ 'user' ] }
@peterviergutz
Copy link

peterviergutz commented Aug 26, 2017

just ran into the same issue, just wondering if you have solved this meanwhile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment