Closed ChristopheVandePoel closed 3 years ago
Hey there. Thanks for the detailed bug report. I've created a fix and should be able to deploy it soon.
:tada: This issue has been resolved in version 6.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I refer to the following issue on the driver repo: https://github.com/neo4j/neo4j-javascript-driver/issues/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.