Hi @lyonwj, thanks for the reply. I'm finally getting back to this and could use a little advice.
First, I am on v3.5.0.4 of the plugin. Also using v3.5.6 of neo4j in desktop.
Next, per your suggestion, I pulled down the existing schema using RETURN graphql.getIdl()
, then opened the results in vscode and basically made the smallest change I could, which was to add brackets around a type definition. In this section of the schema definition:
#Technology usedTechnology Project
usedTechnology(
#cost_code of Project
cost_code: String,
#cost_codes is list variant of cost_code of Project
cost_codes: [String],
#description of Project
description: String,
#descriptions is list variant of description of Project
descriptions: [String],
filter: _ProjectFilter,
#id of Project
id: Long,
#ids is list variant of id of Project
ids: [Long],
#name of Project
name: String,
#names is list variant of name of Project
names: [String],
orderBy: [_ProjectOrdering],
#repository of Project
repository: String,
#repositorys is list variant of repository of Project
repositorys: [String],
#status of Project
status: String,
#statuss is list variant of status of Project
statuss: [String]
): Project
}
I took the second to last line and made it ): [Project]
instead of ): Project
Then I grabbed the whole definition from VSCode and pasted in as an argument of CALL graphql.idl()
Unfortunately, when I went back and used RETURN graphql.getIdl(), I got the following error:
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke function graphql.getIdl
: Caused by: java.lang.IllegalArgumentException: Unknown field type _ProjectFilter
Any direction you can give me would be much appreciated. I recognize I may be making some very dumb mistakes, and if so, please let me know.
Thanks!