Skip to content

Revert breaking change in summary.notification introduced in #1060 #1093

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

Merged

Conversation

robsdedude
Copy link
Member

When introducing bolt 5.5 support for GQL statuses in the summary, the driver gained the ability to polyfill old-style notifications from the statuses. However, ResultSummary.notifications used to be None when the server didn't send any notifications. When using the polyfill, the field would be set to [] instead in the same scenario. This PR fixes this.

When introducing bolt 5.5 support for GQL statuses in the summary, the driver
gained the ability to polyfill old-style notifications from the statuses.
However, `ResultSummary.notifications` used to be `None` when the server didn't
send any notifications. When using the polyfill, the field would be set to `[]`
instead in the same scenario. This PR fixes this.
Copy link
Contributor

@MaxAake MaxAake left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@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.

🚢

@robsdedude robsdedude merged commit d9643f3 into neo4j:5.0 Sep 19, 2024
20 checks passed
@robsdedude robsdedude deleted the fix/revert-breaking-notifications-polyfill branch September 19, 2024 12:01
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.

3 participants