Repository navigation
docs: what 26.12.1 does with a bad graph_batch endpoint and an unlisted error subclass, and the to_json() text per build - #549
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Two fixes are on hold for 26.12.1 (#543 for #506, #544 for #507), so the docs should say what 26.12.1 does without them, where a user meets it:
how-to/bulk-loads.adoc, new section "Edge endpoints in a graph batch":new_edgeandnew_edgesdo not check that an endpoint is an existing vertex, the error comes only at the flush or atclose(), and the edges written by then can be unreachable. It sits where graph_batch: refuse an edge endpoint that is not an existing vertex (27.1.1) #543 puts its own section of the same name, so merging graph_batch: refuse an edge endpoint that is not an existing vertex (27.1.1) #543 conflicts here and replaces it instead of leaving two texts that disagree.how-to/errors.adoc, "The codes": the class name must match exactly, so a subclass of a listed exception without a row of its own getsunknownunless a text rule matches. Both texts carry aREMOVE WHENcomment naming the pull request that ends them.which-package.adoc: a row for the text ofResult.to_json(), which differs between the builds for some dates, times and floats (docs: say how Result.to_json() writes dates and times on each build #545, docs: to_json_list() gives ISO text for a top-level date of an openCypher RETURN #546), and a pointer toto_json_list(), which gives the same values on both.Related issues
Refs #506, Refs #507. Neither closes: the fixes are #543 and #544.
Docs
This PR is the docs change. No code changes.
Checklist
tests/test_error_codes_table.pyreadserrors.adoc; theDocscheck builds the pages)uvx pre-commit run --files <changed files>passes