Skip to content

Fix incorrect LRO template names in migration guide#3920

Merged
markcowl merged 4 commits intomainfrom
copilot/fix-lro-templates
Feb 26, 2026
Merged

Fix incorrect LRO template names in migration guide#3920
markcowl merged 4 commits intomainfrom
copilot/fix-lro-templates

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 10, 2026

The migration guide referenced non-existent template names for async PUT operations. The correct templates in @azure-tools/typespec-azure-resource-manager include the Resource prefix.

Changes

  • Updated template references in migrate-swagger/faq/breakingchange.md:
    • ArmCreateOrReplaceAsyncArmResourceCreateOrReplaceAsync
    • ArmCreateOrUpdateAsyncArmResourceCreateOrUpdateAsync

Example

// Before (incorrect)
op createOrUpdate is ArmCreateOrReplaceAsync<Resource>;

// After (correct)
op createOrUpdate is ArmResourceCreateOrReplaceAsync<Resource>;
Original prompt

This section details on the original issue you should resolve

<issue_title>[DOC] The template used for LRO is not correct</issue_title>
<issue_description>In migrate-swagger faq doc: https://azure.github.io/typespec-azure/docs/migrate-swagger/faq/breakingchange/#templates-for-async-put-operations
The template for LRO Put ArmCreateOrReplaceAsync ArmCreateOrUpdateAsync are not correct.

It should be 'ArmResourceCreateOrReplaceAsync', 'ArmResourceCreateOrUpdateAsync'

Image</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: witemple-msft <77019085+witemple-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incorrect LRO template for async operations Fix incorrect LRO template names in migration guide Feb 10, 2026
Copilot AI requested a review from witemple-msft February 10, 2026 19:38
@witemple-msft witemple-msft marked this pull request as ready for review February 17, 2026 18:07
@azure-sdk
Copy link
Copy Markdown
Collaborator

No changes needing a change description found.

@azure-sdk
Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website

@markcowl markcowl enabled auto-merge February 26, 2026 20:53
@markcowl markcowl added this pull request to the merge queue Feb 26, 2026
Merged via the queue into main with commit 1b7a32a Feb 26, 2026
21 checks passed
@markcowl markcowl deleted the copilot/fix-lro-templates branch February 26, 2026 21:45
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.

[DOC] The template used for LRO is not correct

5 participants