Skip to content

Remove internal CodeGenMember propeties from model factory method#10119

Closed
MaiLinhP wants to merge 8 commits into
microsoft:mainfrom
MaiLinhP:model-factory-provider
Closed

Remove internal CodeGenMember propeties from model factory method#10119
MaiLinhP wants to merge 8 commits into
microsoft:mainfrom
MaiLinhP:model-factory-provider

Conversation

@MaiLinhP
Copy link
Copy Markdown
Member

When marking properties as CodeGenMember, the generator renamed them to internal (ex: Latitude -> latitudeInternal), but ModelFactoryProvider still includes these parameters and expose them to public API. This makes sure those parameters are skipped instead.

@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 Mar 24, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 24, 2026

Open in StackBlitz

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

commit: ef131f8

@github-actions
Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@MaiLinhP MaiLinhP marked this pull request as ready for review March 24, 2026 11:49
@MaiLinhP MaiLinhP marked this pull request as draft March 24, 2026 11:50
@MaiLinhP MaiLinhP marked this pull request as ready for review March 26, 2026 14:19
@MaiLinhP MaiLinhP closed this Apr 13, 2026
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.

2 participants