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

src: update contextify to use DictionaryTemplate by jasnell · Pull Request #60059 · nodejs/node · GitHub

/ node Public

src: update contextify to use DictionaryTemplate - #60059

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
jasnell:jasnell/contextify-dictionarytemplate
Oct 6, 2025
Merged

src: update contextify to use DictionaryTemplate#60059
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
jasnell:jasnell/contextify-dictionarytemplate

Conversation

jasnell commented Sep 28, 2025

Copy link
Copy Markdown
Member

More use of DictionaryTemplate

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem. labels Sep 28, 2025
addaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025

This comment was marked as outdated.

BridgeAR added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. and removed author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Sep 29, 2025

This comment was marked as resolved.

Comment thread src/node_contextify.cc Outdated
jasnell force-pushed the jasnell/contextify-dictionarytemplate branch from 67a08e7 to 956b245 Compare October 4, 2025 12:53

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as resolved.

jasnell force-pushed the jasnell/contextify-dictionarytemplate branch from 956b245 to fa77052 Compare October 5, 2025 12:47
jasnell requested a review from BridgeAR October 5, 2025 12:48

Copy link
Copy Markdown
Collaborator

jasnell requested a review from addaleax October 5, 2025 12:48

legendecas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It is not convincing that a 20-line if-condition is more readable than simple early returns. I don't believe this beneficial change has to be bundled with a subjective style change.

jasnell force-pushed the jasnell/contextify-dictionarytemplate branch from fa77052 to 23601da Compare October 5, 2025 22:45
jasnell force-pushed the jasnell/contextify-dictionarytemplate branch from 23601da to b53b4ec Compare October 5, 2025 22:55
jasnell requested a review from legendecas October 5, 2025 22:55

jasnell commented Oct 5, 2025

Copy link
Copy Markdown
Member Author

Blocking an otherwise fully correct PR for a purely subjective style change seems more counterproductive, especially when the style change is consistent with lots of other places throughout the codebase, but ok. I switched it back to the multiple separate if statements.

Copy link
Copy Markdown
Collaborator

legendecas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

addaleax added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Oct 6, 2025
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 6, 2025
nodejs-github-bot merged commit 4a7fbb6 into nodejs:main Oct 6, 2025
60 of 61 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 4a7fbb6

targos pushed a commit that referenced this pull request Oct 6, 2025
PR-URL: #60059
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
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

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL