Skip to content
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

Mention explicitly that unsignedInteger must not be larger than Long.MAX_VALUE. #841

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

Lojjs
Copy link
Contributor

@Lojjs Lojjs commented Jan 17, 2024

No description provided.

Copy link
Contributor

@loveleif loveleif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry forgot about this one!

@@ -760,6 +760,11 @@ upperBound ::= unsignedInteger
unsignedInteger ::= [0-9]+
----

[NOTE]
====
The `unsignedInteger` must not be larger than the Java constant `Long.MAX_VALUE`.
Copy link
Contributor

@JPryce-Aklundh JPryce-Aklundh Jan 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is not necessary, but helpful if readers are both unaware and interested in what the Long.MAX_VALUE is? If you agree - same comment goes for below note.

Suggested change
The `unsignedInteger` must not be larger than the Java constant `Long.MAX_VALUE`.
The `unsignedInteger` must not be larger than the Java constant `Long.MAX_VALUE` (2^63-1).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, added.

@neo-technology-commit-status-publisher
Copy link
Collaborator

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@JPryce-Aklundh JPryce-Aklundh added cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch and removed dev labels Jan 24, 2024
@JPryce-Aklundh JPryce-Aklundh merged commit 4c06d09 into neo4j:dev Jan 24, 2024
5 checks passed
JPryce-Aklundh pushed a commit to JPryce-Aklundh/docs-cypher that referenced this pull request Jan 24, 2024
JPryce-Aklundh added a commit that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch team-cypher-surface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants