You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uses a neo4j integer object to pass the skip and limit parameter to neo4j. It was complaining about
the old version because it interpreted the number as a floating value.
fix#159
I refer to the following issue on the driver repo:
neo4j/neo4j-javascript-driver#547
We are in the progress of upgrading our Neo4j to 4.x and ran into the above error when using
.limit(10)
and.skip(10)
as provided by this repository.Steps to reproduce
Against a Neo4j 4.x, run:
expected result: first 10 records to be returned.
actual result: error thrown
LIMIT: Invalid input. '10.0' is not a valid value
current workaround
replace all
query.limit()
andquery.skip()
calls with aquery.raw()
valueProposed fix
Replace the implementation of the limit and skip with a compatible version:
This should be bw/fw compatible, but might result in cypher snapshots during tests (like with ours) to fail.
The text was updated successfully, but these errors were encountered: