Skip to content

[http-client-csharp] Rename current compilation type lookup - #11492

Merged
JoshLove-msft merged 4 commits into
microsoft:mainfrom
JoshLove-msft:joshlove-msft/rename-current-compilation-type-lookup
Jul 30, 2026
Merged

[http-client-csharp] Rename current compilation type lookup#11492
JoshLove-msft merged 4 commits into
microsoft:mainfrom
JoshLove-msft:joshlove-msft/rename-current-compilation-type-lookup

Conversation

@JoshLove-msft

@JoshLove-msft JoshLove-msft commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • rename SourceInputModel.FindForTypeInCustomization to FindForTypeInCurrentCompilation to describe the actual lookup scope
  • update generator, ClientModel, and test call sites to use the renamed API

Testing

  • Microsoft.TypeSpec.Generator.Tests (1,781 passed)
  • affected ClientModel suites: ConfigurationSchemaGeneratorTests, ClientSettingsProviderTests, and ModelReaderWriterContextDefinitionTests (127 passed)

Fixes #11487

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c4da49e5-30c3-4be2-8083-fc61b690f9fa
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Jul 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c4da49e5-30c3-4be2-8083-fc61b690f9fa
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: c4da49e5-30c3-4be2-8083-fc61b690f9fa
@pkg-pr-new

pkg-pr-new Bot commented Jul 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@11492

commit: c872096

@JoshLove-msft
JoshLove-msft enabled auto-merge July 30, 2026 19:03
@JoshLove-msft
JoshLove-msft added this pull request to the merge queue Jul 30, 2026
Merged via the queue into microsoft:main with commit 0c7fe01 Jul 30, 2026
29 checks passed
@JoshLove-msft
JoshLove-msft deleted the joshlove-msft/rename-current-compilation-type-lookup branch July 30, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[http-client-csharp] Rename FindForTypeInCustomization to reflect compilation lookup

2 participants