Skip to content

Commit

Permalink
Fix Provider name is not replaced in the route (#2077)
Browse files Browse the repository at this point in the history
fix issue: #2064
  • Loading branch information
AlitzelMendez authored Jan 30, 2025
1 parent 63f0404 commit f27b7c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .chronus/changes/fix-arm-provider-async-2025-0-29-17-16-45.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Fix provider name not being replaced in the route when using `ArmProviderActionSync` or `ArmProviderActionAsync` operation.
2 changes: 2 additions & 0 deletions packages/typespec-azure-resource-manager/lib/operations.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ op checkLocalNameAvailability<
@post
@action
@armResourceCollectionAction
@Private.armUpdateProviderNamespace
op ArmProviderActionSync<
Request extends {} | void = void,
Response extends {} | void = void,
Expand Down Expand Up @@ -733,6 +734,7 @@ op ArmProviderActionSync<
@post
@action
@armResourceCollectionAction
@Private.armUpdateProviderNamespace
op ArmProviderActionAsync<
Request extends {} | void = void,
Response extends {} | void = void,
Expand Down

0 comments on commit f27b7c3

Please sign in to comment.