Skip to content

Comments

Fix incorrect LRO template names in migration guide#3920

Open
Copilot wants to merge 3 commits intomainfrom
copilot/fix-lro-templates
Open

Fix incorrect LRO template names in migration guide#3920
Copilot wants to merge 3 commits intomainfrom
copilot/fix-lro-templates

Conversation

Copy link
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
Collaborator

No changes needing a change description found.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website

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

3 participants