I'm using neo4j v3.1.0 and creating the following simple graph.
create(d:User{code:'testid'})-[:STATE {to:9223372036854775807}]->(UserState{name:'Paul',email:'paul@test.com'})
The value in the to relationship is a long.MaxValue which I am using as an indicator for knowing what is current data. The graph db I'm developing has to store historical data and relationships have to/from properties on the relationship for this purpose. I've omitted the full complexities of this to highlight the issue.
The problem is that the to value is stored as 9223372036854776000 and not the 9223372036854775807 I specified which is larger than Int64.MaxValue. Deserializing using Newtonsoft in .NET blows up of course.
See the screen shot to see the issue
I could just reduce the size of the number, which would suffice for my use case, but if I really needed store this value it wouldn't be able to. I would rather know if this is an actual issue with Neo4j or if there is some config I need to do.
Any help would be great. Thanks