Title: doc: QuicStream.direction / id is incorrectly documented as nullable · Issue #66686 · nodejs/node · GitHub
Open Graph Title: doc: QuicStream.direction / id is incorrectly documented as nullable · Issue #66686 · nodejs/node
X Title: doc: QuicStream.direction / id is incorrectly documented as nullable · Issue #66686 · nodejs/node
Description: stream.direction is documented as returning 'bidi', 'uni', or null when the stream is pending or destroyed. However, the implementation always returns 'bidi' or 'uni', and the lifecycle test confirms that the direction remains available ...
Open Graph Description: stream.direction is documented as returning 'bidi', 'uni', or null when the stream is pending or destroyed. However, the implementation always returns 'bidi' or 'uni', and the lifecycle test confir...
X Description: stream.direction is documented as returning 'bidi', 'uni', or null when the stream is pending or destroyed. However, the implementation always returns 'bidi' or 'uni'...
Opengraph URL: https://github.com/nodejs/node/issues/66686
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"doc: QuicStream.direction / id is incorrectly documented as nullable","articleBody":"`stream.direction` is documented as returning `'bidi'`, `'uni'`, or `null` when the stream is pending or destroyed. However, the implementation always returns `'bidi'` or `'uni'`, and the lifecycle test confirms that the direction remains available after destruction. There's also a test validating this behaviour (`test/parallel/test-quic-session-stream-lifecycle.mjs:97`)\n\nhttps://github.com/nodejs/node/blob/9e6dd49a1272bde85ba1156b4639a0a762e6836a/doc/api/quic.md#L2110-L2120\n\nThe documentation should be updated to remove `null` from the type and description.\n\n`stream.id` also has a similar remark where it claims to return `null` when destroyed, but it doesn't","author":{"url":"https://github.com/efekrskl","@type":"Person","name":"efekrskl"},"datePublished":"2026-10-12T19:23:25Z","url":"https://github.com/nodejs/node/issues/66686"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f7c401da-0915-777e-f171-a93fd0782eba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D418:3C86FB:114EB0:1667CE:6B033852 |
| html-safe-nonce | fc539c1e4da3299b4a956e6ccf44af8d34c49e0531b6b00e887f82bc1dd45b63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDE4OjNDODZGQjoxMTRFQjA6MTY2N0NFOjZCMDMzODUyIiwidmlzaXRvcl9pZCI6IjU2MjEzNDc1MTYyODE5OTMyOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5d95c2a01937c1c7a13f051b2b242bd0a9968cf2a8dc5c209aaefd2d00b7a6c1 |
| hovercard-subject-tag | issue:5819249391 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/66686/issue_layout |
| twitter:image | https://opengraph.githubassets.com/48ad2a9c6e77b446ca8acf9c9ea02c477cd6111160f03712413998c152b4654e/nodejs/node/issues/66686 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/48ad2a9c6e77b446ca8acf9c9ea02c477cd6111160f03712413998c152b4654e/nodejs/node/issues/66686 |
| og:image:alt | stream.direction is documented as returning 'bidi', 'uni', or null when the stream is pending or destroyed. However, the implementation always returns 'bidi' or 'uni', and the lifecycle test confir... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | efekrskl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width