GraphQL Architect infer failing

GraphQL Architect is an excellent plugin. I have an existing database with nodes that have multiple labels (all nodes are of type X, some also of type Y, some also of type Z etc). When inferring the schema for many of my relationships I see - (for example)
Relationship Neo4jRelationship
{
id: ':CONTAINS COMMAND PATH',
type: 'relationship',
properties: {},
relType: 'CONTAINS COMMAND PATH',
links: [
{ from: [Array], to: [Array] },
{ from: [Array], to: [Array] },
{ from: [Array], to: [Array] }
]
} is not univalent and is not yet supported

Will this be supported in the near future, is there a workaround I could use?

Quick update, running latest neo4j 4.2.2 and latest desktop GraphQL Architect now appears to get 'stuck' spinning graphic while inferring the schema. Is there logging specific to this graph app that I can look at? Is there any additional information that I can provide?

1 Like

Hi @mfkilgore - it looks like there is an issue with GraphQL Architect and the latest Neo4j Desktop release: Infinite loading when lauching graphQL architect · Issue #10 · grand-stack/graphql-architect · GitHub

If possible could you check the developer tools console and see if there are any error messages?

@William_Lyon I tried again, and now see this message -

Graph App 'GraphQL Architect' can't be opened. See logs for more info (Developer menu in menu bar). Re-installing the app might resolve the issue.
Re-install GraphQL Architect and restart Neo4j Desktop.

the only obvious error in the log was -

2021-02-02 20:50:38.632] [info] [1] Online check response: 200 version: 1.4.1
files
[2021-02-02 20:50:56.910] [error] Graph-App 'GraphQL Architect' execution blocked: signature verification failure. {
constructor: 'Error',
stack: 'Error: Invalid content digest.\n' +
' at Object.exports.verifySignature (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/verify.js:141:15)\n' +
' at Object. (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/verify.js:27:36)\n' +
' at Generator.next ()\n' +
' at /Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/verify.js:7:71\n' +
' at new Promise ()\n' +
' at __awaiter (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/verify.js:3:12)\n' +
' at Object.exports.verify (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/verify.js:17:31)\n' +
' at Object. (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/index.js:43:35)\n' +
' at Generator.next ()\n' +
' at fulfilled (/Applications/Neo4j Desktop.app/Contents/Resources/app.asar/node_modules/@neo4j/code-signer/lib/index.js:4:58)\n' +
' at runMicrotasks ()\n' +
' at processTicksAndRejections (internal/process/task_queues.js:85:5)'
}
[2021-02-02 20:51:18.363] [info] [1] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-02-02 20:51:19.131] [info] [1] Online check response: 200 version: 1.4.1
files
[2021-02-02 20:51:58.366] [info] [1] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-02-02 20:51:59.055] [info] [1] Online check response: 200 version: 1.4.1
files
[2021-02-02 20:52:38.365] [info] [1] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-02-02 20:52:38.698] [info] [1] Online check response: 200 version: 1.4.1
files

Let me know if you need more information or the entire log.

@William_Lyon - any updates on this or the related ticket?

1 Like

Getting the same infinite loading issue on 4.2.5 and 4.2.1. Any updates @William_Lyon because would love to use GraphQL Architect as it saves us a lot of time on the API side?

Checked my logs and no mention of 'Architect'...:
2021-04-16 01:03:14.990+0000 INFO ======== Neo4j 4.2.5 ========
2021-04-16 01:03:18.559+0000 INFO Called db.clearQueryCaches(): Query cache already empty.
2021-04-16 01:03:25.217+0000 INFO Sending metrics to CSV file at /Users/rx/Library/Application Support/com.Neo4j.Relate/Data/dbmss/dbms-e5c67d58-0ba1-463c-8675-1abac6f6e1c1/metrics
2021-04-16 01:03:25.244+0000 INFO Bolt enabled on localhost:7687.
2021-04-16 01:03:26.221+0000 INFO Remote interface available at http://localhost:7474/
2021-04-16 01:03:26.222+0000 INFO Started.

Update - completely removed neo4j desktop and fresh installed on OSX Big Sur 11.2.3. Started fresh DB 4.2.5, loaded in data. Same problem...

1 Like

@mfkilgore did you find a solution?

Sorry none found, I think it is something between Architect and Desktop that is broken

Ok thanks for the response

I am having the same issue. All found threads at github and stackoverflow without resolution.