FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

async_hooks: improve property descriptors in als.bind by Flarna · Pull Request #34620 · nodejs/node · GitHub

/ node Public

async_hooks: improve property descriptors in als.bind - #34620

Closed
Flarna wants to merge 1 commit into
nodejs:masterfrom
dynatrace-oss-contrib:als-bind-props
Closed

async_hooks: improve property descriptors in als.bind#34620
Flarna wants to merge 1 commit into
nodejs:masterfrom
dynatrace-oss-contrib:als-bind-props

Conversation

Flarna commented Aug 4, 2020

Copy link
Copy Markdown
Member

The length property should be non enumerable to match behavior of normal functions.

The asyncResource property is enumerable and therefore it should be also writable to avoid issues like there: #30932 (comment)

Both properties should be configurable.

Refs: #34574

fyi @jasnell

The length property should be non enumerable to match behavior of
normal functions.

The asyncResource property is enumerable and therefore it should be
also writable to avoid issues like there:
nodejs#30932 (comment)

Both properties should be configurable.

Refs: nodejs#34574

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the async_hooks Issues and PRs related to the async hooks subsystem. label Aug 4, 2020

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/32622/

Flarna added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 4, 2020
jasnell added the fast-track PRs that do not need to wait for 48 hours to land. label Aug 4, 2020

jasnell commented Aug 4, 2020

Copy link
Copy Markdown
Member

fast-track? please 👍🏻

Flarna added a commit that referenced this pull request Aug 4, 2020
The length property should be non enumerable to match behavior of
normal functions.

The asyncResource property is enumerable and therefore it should be
also writable to avoid issues like there:
#30932 (comment)

Both properties should be configurable.

Refs: #34574

PR-URL: #34620
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>

Flarna commented Aug 4, 2020

Copy link
Copy Markdown
Member Author

Landed in 3ea94ec

Flarna closed this Aug 4, 2020
Flarna changed the title [async_hooks] improve property descriptors in als.bind async_hooks: improve property descriptors in als.bind Aug 4, 2020
Flarna deleted the als-bind-props branch August 4, 2020 16:06
addaleax pushed a commit that referenced this pull request Aug 8, 2020
The length property should be non enumerable to match behavior of
normal functions.

The asyncResource property is enumerable and therefore it should be
also writable to avoid issues like there:
#30932 (comment)

Both properties should be configurable.

Refs: #34574

PR-URL: #34620
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere mentioned this pull request Aug 10, 2020
codebytere pushed a commit that referenced this pull request Aug 11, 2020
The length property should be non enumerable to match behavior of
normal functions.

The asyncResource property is enumerable and therefore it should be
also writable to avoid issues like there:
#30932 (comment)

Both properties should be configurable.

Refs: #34574

PR-URL: #34620
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
The length property should be non enumerable to match behavior of
normal functions.

The asyncResource property is enumerable and therefore it should be
also writable to avoid issues like there:
#30932 (comment)

Both properties should be configurable.

Refs: #34574

PR-URL: #34620
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere mentioned this pull request Sep 28, 2020
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

Labels

async_hooks Issues and PRs related to the async hooks subsystem. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL