Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-17-2020 01:59 AM
I have the following type in my schema.graphql script:
type ARTICLE {
_id: Long!
community: Int!
familyComponent: Int!
id: Int!
label: String!
seed_label: Int
title: String!
similar: [ARTICLE] @relation(name: "SIMILAR", direction: OUT)
SIMILAR_rel: [SIMILAR]
keywords: [KEYWORD] @relation(name: "APPEARS_IN", direction: IN)
group: [ARTICLE]
@cypher(
statement: "MATCH (a:ARTICLE) RETURN a.community as id, COLLECT(a) AS articles"
)
}
I tried to query it, for example:
query {
ARTICLE{
title
group{id}
}
}
But I have the error Unknown variable aRTICLE_group
I saw that other developers have this error so I don't if the error comes from what I coded
10-27-2020 10:07 AM
I was having the same problem. What version of neo4j are you using?
Upgrading neo4j from v4.0.4 to v4.1.13 fixed the issue for me.
https://github.com/neo4j-graphql/neo4j-graphql-js/issues/445
All the sessions of the conference are now available online