Hi I can run this query in Neo4j's Desktop browser but when doing it in GraphQL it returns "Cannot return null for non-nullable field X"
This is my query:
OPTIONAL MATCH (u:User { username: "dan"})-[r:FOLLOWS]->(something)-[:WROTE|TAGGED]-(post:Post)
CALL apoc.create.vNode(labels(post), post)
YIELD node AS vChild
WITH COLLECT(vChild) as rows
OPTIONAL MATCH (this)-[:WROTE]->(post:Post)
WITH rows + COLLECT(post) as allRows
UNWIND allRows as post
RETURN DISTINCT post
ORDER BY post.date DESC
I believe it's because it's a virtual node, maybe that's not supported by Neo4j-graphql-js?
Hi I can run this query in Neo4j's Desktop browser but when doing it in GraphQL it returns "Cannot return null for non-nullable field X"
This is my query:
I believe it's because it's a virtual node, maybe that's not supported by Neo4j-graphql-js?