Skip to content

[release/v7.4.14]Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates#26985

Merged
jshigetomi merged 1 commit intoPowerShell:release/v7.4.14from
jshigetomi:backport-26984
Mar 10, 2026
Merged

[release/v7.4.14]Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates#26985
jshigetomi merged 1 commit intoPowerShell:release/v7.4.14from
jshigetomi:backport-26984

Conversation

@jshigetomi
Copy link
Copy Markdown
Collaborator

Backport #26984

…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>
@jshigetomi jshigetomi marked this pull request as ready for review March 10, 2026 22:34
@jshigetomi jshigetomi requested a review from a team as a code owner March 10, 2026 22:34
Copilot AI review requested due to automatic review settings March 10, 2026 22:34
@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 enabled auto-merge (squash) March 10, 2026 22:36
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

This PR backports a fix to the ClearlyDefined PowerShell module so ConvertFrom-ClearlyDefinedCoordinates can accept either the traditional coordinate string format or the object form returned by the ClearlyDefined API (.coordinates).

Changes:

  • Widen ConvertFrom-ClearlyDefinedCoordinates input type from [string] to [object].
  • Add branching logic to parse either a coordinate string (type/provider/namespace/name/revision) or an existing coordinate object with those fields.

@jshigetomi jshigetomi merged commit 4a19e8e into PowerShell:release/v7.4.14 Mar 10, 2026
39 of 40 checks passed
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.

3 participants