-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid input '_filter' #207
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are using this library in conjunction with Neo4j Aura. Today an update to Aura broke our app in production. It remains broken still, several hours later. I have copied this issue from our internal tracker.
This appears to be a bug in the (now unsupported) Neo4j GraphQL library.
When we write a query in GraphQL such as:
neo4j-graphql transforms it into a Cypher query that looks like this (truncated):
This Cypher query above throws an Error when talking to Aura. This is no longer a valid cypher query.
Why?
The problem appears to be that the autogenerated filter key begins with an Integer.
If I manually extract the generated cypher query but prepend the filter to begin with a non-integer, and then run it locally, it works fine.
Solution
I will file this ticket with Neo4j but since the library is unsupported we have to assume that this might not be fixed. And even if it is fixed, something like this might happen again.
Solutions include:
The text was updated successfully, but these errors were encountered: