Skip to content

Conversation

@BridgeAR
Copy link
Member

Inspecting linked lists is something that is not really useful.
Instead, just use a custom inspection function and hide everything
besides the first level.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. label Sep 26, 2018
Inspecting linked lists is something that is not really useful. Instead, just use a custom inspection function and hide everything besides the first level.
Copy link
Contributor

@Fishrock123Fishrock123 left a comment

Choose a reason for hiding this comment

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

SGTM although it'd be nice if there was a way to only ignore [TimersList]s here. If a user attaches an object it should probably still inspect as normal...

@BridgeAR
Copy link
MemberAuthor

@Fishrock123 it would be possible inspecting the object deeper using customInspect = false as option. I guess that might be sufficient since most users probably not extent the objects? Otherwise I can only think about manipulating the actual object to achieve that.

@BridgeAR
Copy link
MemberAuthor

@nodejs/timers @nodejs/util PTAL

@danbev
Copy link
Contributor

danbev commented Oct 1, 2018

CI: https://ci.nodejs.org/job/node-test-pull-request/17545/ ✔️ (besides Windows fanned)

@BridgeAR
Copy link
MemberAuthor

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 1, 2018
@danbev
Copy link
Contributor

Landed in d8baf67.

@danbevdanbev closed this Oct 2, 2018
danbev pushed a commit that referenced this pull request Oct 2, 2018
Inspecting linked lists is something that is not really useful. Instead, just use a custom inspection function and hide everything besides the first level. PR-URL: #23108 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
targos pushed a commit that referenced this pull request Oct 3, 2018
Inspecting linked lists is something that is not really useful. Instead, just use a custom inspection function and hide everything besides the first level. PR-URL: #23108 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
@targostargos mentioned this pull request Oct 7, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.timersIssues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@BridgeAR@nodejs-github-bot@danbev@apapirovski@jasnell@Fishrock123@benjamingr