Skip to content

Adds action/function suffix to tag names for action/function operations - #641

Merged
Tim (timayabi2020) merged 4 commits into
mainfrom
tm/fix-operation-tag-names
Jan 20, 2025
Merged

Adds action/function suffix to tag names for action/function operations#641
Tim (timayabi2020) merged 4 commits into
mainfrom
tm/fix-operation-tag-names

Conversation

@timayabi2020

Copy link
Copy Markdown
Contributor

Fixes #640
This PR is a follow up to #586 and it includes "Actions" or "Functions" as suffixes to the tag. This will

  • enable the powershell mappings to be updated to target the paths more precisely to fix the incorrect mappings.
  • enable the user functions/actions to still remain in their current modules by targeting operationIds like user.*.Actions.

@baywet Vincent Biret (baywet) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a unit test for that behaviour.
Also:

  • main is the branch for v2.x (currently in preview)
  • support/v1 is the branch for 1.X (GA, what our tooling uses)

You'll need to port the fix (cherry-pick, not merge) to benefit it in the generation pipeline

@timayabi2020

Copy link
Copy Markdown
Contributor Author

Closing this in favor of another PR that targets support/v1 branch

@baywet

Copy link
Copy Markdown
Member

Tim (@timayabi2020) you'll need to do both so the fix is also present in v2 when we release and there are no regressions. (unless it's already present in 2.X)

@baywet

Copy link
Copy Markdown
Member

Tim (@timayabi2020) I think some of the changes around the Id were missed here.

@sonarqubecloud

Copy link
Copy Markdown

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.

Naming convention (NavigationSource.NavigationEntity) of tags targeting action/function operations causes incorrect Graph PowerShell module mappings

2 participants