Skip to content

Conversation

AndyHeap-NeoTech
Copy link
Contributor

Improved IsRetriable method reference description to highlight that the flag does not apply safely to Session.Run because of things like periodic commit and call in tx.

Tidied up some compiler warning from incomplete or erroneous XML comments.

…he flag does not apply safely to Session.Run because of things like periodic commit and call in tx.

Tidied up some compiler warning from incomplete or erroneous XML comments.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves documentation and fixes compiler warnings in the Neo4j Driver codebase. The main focus is enhancing the IsRetriable method documentation to clarify its limitations with autocommit transactions, while also addressing various XML documentation issues that were generating compiler warnings.

  • Enhanced IsRetriable property documentation to warn about autocommit transaction limitations
  • Fixed incomplete XML documentation comments that were causing compiler warnings
  • Changed visibility of internal utility classes from public to internal

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Neo4j.Driver/Neo4j.Driver/Public/Exceptions/Neo4jException.cs Enhanced IsRetriable property documentation with autocommit transaction warnings
Neo4j.Driver/Neo4j.Driver/Public/TransactionConfig.cs Added proper XML documentation for constructor parameters
Neo4j.Driver/Neo4j.Driver/Public/IAsyncSession.cs Improved method descriptions to clarify autocommit transaction behavior
Neo4j.Driver/Neo4j.Driver/Public/Mapping/ConventionTranslation/StandardCaseParser.cs Fixed exception reference in XML documentation
Neo4j.Driver/Neo4j.Driver/Public/Mapping/RecordObjectMapping.cs Changed method visibility from public to private
Neo4j.Driver/Neo4j.Driver/Internal/Routing/LoadBalancer.cs Added missing parameter documentation
Neo4j.Driver/Neo4j.Driver/Internal/Util/VarLong.cs Changed class visibility from public to internal
Neo4j.Driver/Neo4j.Driver/Internal/Mapping/ConventionTranslation/NoOpConventionTranslator.cs Changed class visibility from public to internal

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@StephenCathcart StephenCathcart left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@AndyHeap-NeoTech AndyHeap-NeoTech merged commit 6d3ed84 into neo4j:5.0 Aug 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants