Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix property discovery on class-based resources WinPS adapter#879

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

Gijsreyn
Copy link
Contributor

PR Summary

This PR addresses issue#878. Note: there are no tests and might conflict with PR#877. Depending on these, I have to resolve the conflicts and add relevant tests.

PR Context

@Gijsreyn
Copy link
ContributorAuthor

@SteveL-MSFT, could you please let me know which of the other PRs goes first? Then I can fix the merge conflict and rewrite some of the logic :)

Copy link
Member

@SteveL-MSFTSteveL-MSFT left a comment

Choose a reason for hiding this comment

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

Can you add a test?

DscResourceInfo = $DscResourceInfo
LastWriteTimes = $lastWriteTimes
})
Type = "$moduleName/$($dscResource.Name)"
Copy link
Member

Choose a reason for hiding this comment

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

This indentation doesn't look right?

Copy link
Member

Choose a reason for hiding this comment

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

Isn't this double indented?

Copy link
Member

Choose a reason for hiding this comment

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

still there

Gijsreyn reacted with thumbs up emoji
@Gijsreyn
Copy link
ContributorAuthor

Can you add a test?

Ready to go :)

@GijsreynGijsreynforce-pushed thefix-class-property-discovery branch from6fc6ecc toe557557CompareJune 13, 2025 07:46
@GijsreynGijsreynforce-pushed thefix-class-property-discovery branch frome557557 tof0c30ddCompareJune 29, 2025 10:36
@GijsreynGijsreynforce-pushed thefix-class-property-discovery branch fromf0c30dd tocdbb4b1CompareJuly 1, 2025 02:30
DscResourceInfo = $DscResourceInfo
LastWriteTimes = $lastWriteTimes
})
Type = "$moduleName/$($dscResource.Name)"
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this double indented?

@GijsreynGijsreynforce-pushed thefix-class-property-discovery branch from1af0044 tob602c8fCompareJuly 4, 2025 05:37
DscResourceInfo = $DscResourceInfo
LastWriteTimes = $lastWriteTimes
})
Type = "$moduleName/$($dscResource.Name)"
Copy link
Member

Choose a reason for hiding this comment

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

still there

Gijsreyn reacted with thumbs up emoji
@Gijsreyn
Copy link
ContributorAuthor

Somehow, the OTBS and auto-save do that double indentation. It should be good now.

[System.Management.Automation.Language.ParseError[]] $errors = $null
$ast = [System.Management.Automation.Language.Parser]::ParseFile($module, [ref]$tokens, [ref]$errors)
foreach ($e in $errors) {
$e | Out-String | Write-DscTrace -Operation Error
Copy link
Member

Choose a reason for hiding this comment

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

If there are any errors, should we just exit with an exit code?

@SteveL-MSFTSteveL-MSFT added this pull request to themerge queueJul 6, 2025
Merged via the queue intoPowerShell:main with commit82b9135Jul 6, 2025
4 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@SteveL-MSFTSteveL-MSFTSteveL-MSFT approved these changes

@michaeltlombardimichaeltlombardiAwaiting requested review from michaeltlombardi

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Gijsreyn@SteveL-MSFT

[8]ページ先頭

©2009-2025 Movatter.jp