Skip to content

Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates#26984

Merged
jshigetomi merged 1 commit intoPowerShell:release/v7.4from
jshigetomi:backport26893
Mar 10, 2026
Merged

Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates#26984
jshigetomi merged 1 commit intoPowerShell:release/v7.4from
jshigetomi:backport26893

Conversation

@jshigetomi
Copy link
Copy Markdown
Collaborator

@jshigetomi jshigetomi commented Mar 10, 2026

Co-authored-by: copilot-swe-agent[bot] 198982749+Copilot@users.noreply.github.com
Co-authored-by: TravisEz13 10873629+TravisEz13@users.noreply.github.com
Co-authored-by: Travis Plunk travis.plunk@microsoft.com
Co-authored-by: PowerShell Team Bot 69177312+pwshBot@users.noreply.github.com
Co-authored-by: Dongbo Wang dongbow@microsoft.com

PR Summary

Backport of #26893

PR Checklist

…nates (PowerShell#26893)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
@jshigetomi jshigetomi changed the title Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates (#26893) Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates Mar 10, 2026
@jshigetomi jshigetomi marked this pull request as ready for review March 10, 2026 22:31
@jshigetomi jshigetomi requested a review from a team as a code owner March 10, 2026 22:31
Copilot AI review requested due to automatic review settings March 10, 2026 22:31
@jshigetomi jshigetomi added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 10, 2026
@jshigetomi jshigetomi merged commit c465408 into PowerShell:release/v7.4 Mar 10, 2026
44 of 47 checks passed
jshigetomi added a commit to jshigetomi/PowerShell that referenced this pull request Mar 10, 2026
…nates (PowerShell#26984)

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Backports a fix to the ClearlyDefined tooling so ConvertFrom-ClearlyDefinedCoordinates can correctly interpret the coordinates field returned by the ClearlyDefined API when it is a deserialized object rather than a string.

Changes:

  • Relax ConvertFrom-ClearlyDefinedCoordinates input type from [string] to [object].
  • Add branching logic to handle both string coordinates (type/provider/namespace/name/revision) and API coordinate objects (.type/.provider/.namespace/.name/.revision).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants