Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch evaluation sometimes ignores intermediate members #1706

Open
JustinGrote opened this issue Feb 14, 2022 · 2 comments
Open

Watch evaluation sometimes ignores intermediate members #1706

JustinGrote opened this issue Feb 14, 2022 · 2 comments
Assignees
Labels

Comments

@JustinGrote
Copy link
Collaborator

 $Role = [pscustomobject]@{
   DisplayName                 = 'thing'
   accessPackageResourceScopes = [pscustomobject]@{ 
     DisplayName = 'nestedthing'
   }
 }
 
 $Role
 Wait-Debugger

image

The latter watch expression should return null

@ghost ghost added the Needs: Triage Maintainer attention needed! label Feb 14, 2022
@JustinGrote JustinGrote added Area-Debugging Issue-Bug A bug to squash. and removed Needs: Triage Maintainer attention needed! labels Feb 14, 2022
@andyleejordan
Copy link
Member

Is this only in Preview?

@JustinGrote
Copy link
Collaborator Author

JustinGrote commented May 22, 2022

@andschwa noticed that "add to watch" is bugged and only adds the last property if you choose a dependent item (which results in it not watching what you want). Probably related.
image

@andyleejordan andyleejordan self-assigned this Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants