Skip to content

Conversation

tznind
Copy link
Contributor

@tznind tznind commented Oct 27, 2023

PR Summary

Fixes #222

PR Context

This fixes a bug where:

  • You could unexpectedly expand what should be leaf nodes of tree (CanExpand returns false)
  • Expanding revealed static members (e.g. Int32.MaxValue)

Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

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

Good fix!

@andyleejordan andyleejordan enabled auto-merge (squash) October 27, 2023 17:25
@andyleejordan andyleejordan merged commit 78930cc into PowerShell:master Oct 27, 2023
@tznind tznind deleted the fix-child-expand branch October 27, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(Seemingly) Infinitely nesting properties in Show-ObjectTree
2 participants