neo4j-graphql-java icon indicating copy to clipboard operation
neo4j-graphql-java copied to clipboard

Support for Map / JSON return type

Open Anunayth opened this issue 3 years ago • 1 comments

Is it possible to use Map or a JSON as the return type for any query?

eg : getMap(inpVal: ID): <Return Type as Map> @cypher(statement:"call example.procedure($inpVal) yield value return value")

If the returned value is a map / JSON, then what should I do to get the value.

Anunayth avatar Mar 30 '21 17:03 Anunayth

Can you take a look at https://github.com/neo4j-graphql/neo4j-graphql-java/pull/195 to see if it fits your needs

Andy2003 avatar Mar 30 '21 17:03 Andy2003