Uh oh!
There was an error while loading. Please reload this page.
src: update contextify to use DictionaryTemplate - #60059
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
67a08e7 to
956b245Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
956b245 to
fa77052Comparenodejs-github-bot
commented
Oct 5, 2025
legendecas
left a comment
There was a problem hiding this comment.
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.
fa77052 to
23601daCompare23601da to
b53b4ecComparejasnell
commented
Oct 5, 2025
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. |
nodejs-github-bot
commented
Oct 6, 2025
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Oct 6, 2025
Landed in 4a7fbb6 |
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>
More use of DictionaryTemplate