Skip to content

http-client-java, fix FinalResult model incorrectly removed - #9145

Merged
Xiaofei Cao (XiaofeiCao) merged 6 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_fix-final-result-model-removed
Dec 8, 2025
Merged

http-client-java, fix FinalResult model incorrectly removed#9145
Xiaofei Cao (XiaofeiCao) merged 6 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_fix-final-result-model-removed

Conversation

@weidongxu-microsoft

@weidongxu-microsoftWeidong Xu (weidongxu-microsoft) commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Caused by #9109

Happens in mgmt flow, where we clean up unused model.

Therefore, when we use FinalResult (instead of Response) model from LRO, we'd need to change this logic too.


test Azure/autorest.java#3237
Azure/azure-sdk-for-java#47475 (some model get removed, Build pass)

@microsoft-github-policy-servicemicrosoft-github-policy-serviceBot added the emitter:client:java Issue for the Java client emitter: @typespec/http-client-java label Dec 5, 2025
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground🌐 Website🛝 VSCode Extension

@weidongxu-microsoft

Copy link
Copy Markdown
ContributorAuthor

Xiaofei Cao (@XiaofeiCao)
Please help follow-up on this PR and Azure/autorest.java#3237

@XiaofeiCao
Xiaofei Cao (XiaofeiCao) added this pull request to the merge queueDec 8, 2025
Merged via the queue into microsoft:main with commit b1176f5Dec 8, 2025
28 of 38 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:javaIssue for the Java client emitter: @typespec/http-client-java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@weidongxu-microsoft@azure-sdk@XiaofeiCao