Uh oh!
There was an error while loading. Please reload this page.
sqlite,src: refactor sqlite value conversion - #57571
Conversation
nodejs-github-bot
commented
Mar 21, 2025
Review requested:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #57571 +/- ##
==========================================
- Coverage 90.23% 90.23% -0.01%
==========================================
Files 629 630 +1 Lines 184903 185009 +106 Branches 36223 36221 -2 ==========================================
+ Hits 166853 166944 +91 - Misses 11010 11038 +28 + Partials 7040 7027 -13
🚀 New features to boost your workflow:
|
nodejs-github-bot
commented
Mar 21, 2025
Renegade334
commented
Mar 21, 2025
Is this "returning function body macro" paradigm used elsewhere? Appreciate the rationale, but it seems like it lends potential for future mishaps? |
geeksilva97
commented
Mar 21, 2025
For this, specifically, I don't think so. This type conversion is unlikely to change. We need to find a way to isolate this anyways since it's being required more and more. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6cf644e to
2611aa7Compare
cjihrig
left a comment
There was a problem hiding this comment.
LGTM with one minor comment.
Uh oh!
There was an error while loading. Please reload this page.
Failed to start CI⚠ Commits were pushed since the last approving review: ⚠ - sqlite,src: refactor sqlite value conversion ⚠ - fixup: apply review suggestions ⚠ - sqlite,src: improve conversion macro ✘ Refusing to run CI on potentially unsafe PRhttps://github.com/nodejs/node/actions/runs/14196415493 |
nodejs-github-bot
commented
Apr 2, 2025
nodejs-github-bot
commented
Apr 3, 2025
nodejs-github-bot
commented
Apr 3, 2025
Landed in 8360ce2 |
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #57571 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This PR is a minor refactor on converting SQLite values to JS. It makes the work for #56600 easier and reduces duplication.