Can't return @cypher custom property when using generated mutations. Get Error Neo4jError: Expected parameter(s): cypherParams #601
Description
Replicated situation below:
Type Definition:
type MyType { id: ID! name: string custom: @cypher(statement: """ """) }
Mutation Call:
mutation ($id: ID!, $name: String! ) { UpdateMyType(id: $id, name: $name) { id name custom } }
Error:
"Neo4jError: Expected parameter(s): cypherParams", "", " at captureStacktrace (node_modules/neo4j-driver/lib/result.js:275:15)", " at new Result (node_modules/neo4j-driver/lib/result.js:66:19)", " at newCompletedResult (node_modules/neo4j-driver/lib/transaction.js:446:10)", " at Object.run (node_modules/neo4j-driver/lib/transaction.js:285:14)", " at Transaction.run (node_modules/neo4j-driver/lib/transaction.js:121:32)", " at _callee2$ (node_modules/neo4j-graphql-js/dist/index.js:192:35)", " at tryCatch (node_modules/regenerator-runtime/runtime.js:63:40)", " at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:293:22)", " at Generator.next (node_modules/regenerator-runtime/runtime.js:118:21)", " at asyncGeneratorStep (node_modules/@babel/runtime-corejs2/helpers/asyncToGenerator.js:5:24)"
Wasn't a critical issue to work around but it felt like a bug.