CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 11:26:35 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neo4j/neo4j-javascript-driver.git
etag: W/"8e134763ff878e84db8efed721a08598"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=%2Bmr3omlQd%2BQ9NYGoUKs3dhE7BYlKhfav0ySs02pJlukEypWC9bkv1tiZ1Mx8w89QZXYtHFGDqf5gcNhgxIa8VkKWL0FnC1sd0qAxC9PsL%2FGe%2BoTSYIJOHaZHwM0IJFTRwgvmM69vf3NfDuVxsl1%2F9mQuFEhW1UcbEWWEw%2B18uwNGzBdLTENK3wxtF5ECTUYQWCJ133fx0FrSyJMUay%2FXRXkugZQ%2BPxM%2F0B1k8k5Uz1A3Zq3gPmWEo7We7iNJn13a9zfj6IUqxXcvBHhAoNFI9Q%3D%3D--kvPXuWIpS0AS87xJ--M0a9UFzlSY57S8OJQL5cJQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.201562537.1753356394; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 11:26:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 11:26:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 94C6:3F8A98:A09784:C0C8D5:6882186A
Fix lack of ProtocolVersion in the `Result.summary()` (#937) · neo4j/neo4j-javascript-driver@0e0b975 · GitHub
Copy file name to clipboardExpand all lines: packages/core/src/result.ts
Copy file name to clipboardExpand all lines: packages/core/test/result.test.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit 0e0b975
authored
Fix lack of ProtocolVersion in the
When there are more than one observer subscribed to the ResultStreamObserver, the first notified observed got the summary with the protocol info because the connection holder stills holding the connection. The next observers notified won't have the protocol version since the connection holder will not have the connection in hands at the moment.
This situation is occurring during some tests where result iterator is not fully consumed and the summary is called in the meantime.
Checking for existance of the summary in the result and notifying the observer with the already created summary should solve issue since the first summary created will have the protocol version set.Result.summary()
(#937)1 parent ba439b3 commit 0e0b975Copy full SHA for 0e0b975
File tree
Expand file treeCollapse file tree
2 files changed
+48
-3
lines changedFilter options
- packages/core
- src
- test
Expand file treeCollapse file tree
2 files changed
+48
-3
lines changedpackages/core/src/result.ts
Copy file name to clipboardExpand all lines: packages/core/src/result.ts+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
440 | 443 |
| |
441 | 444 |
| |
442 | 445 |
| |
| |||
484 | 487 |
| |
485 | 488 |
| |
486 | 489 |
| |
487 |
| - | |
| 490 | + | |
488 | 491 |
| |
489 | 492 |
| |
490 | 493 |
| |
|
packages/core/test/result.test.ts
Copy file name to clipboardExpand all lines: packages/core/test/result.test.ts+43-1Lines changed: 43 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
| 150 | + | |
149 | 151 |
| |
| 152 | + | |
150 | 153 |
| |
151 | 154 |
| |
152 | 155 |
| |
153 |
| - | |
| 156 | + | |
| 157 | + | |
154 | 158 |
| |
155 | 159 |
| |
156 | 160 |
| |
| |||
174 | 178 |
| |
175 | 179 |
| |
176 | 180 |
| |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
177 | 219 |
| |
178 | 220 |
| |
179 | 221 |
| |
|
You can’t perform that action at this time.
0 commit comments