-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharpIssue for the C# client emitter: @typespec/http-client-csharp
Description
In MTG, we can only customize base model if input model doesn't have a base model already.
Lines 245 to 250 in fecf4f2
| if (_inputModel.BaseModel == null) | |
| { | |
| // consider models that have been customized to inherit from a different model | |
| if (CustomCodeView?.BaseType != null) | |
| { | |
| var baseType = CustomCodeView.BaseType; |
There are cases, we need to customize the base model even the spec has specified the base model.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharpIssue for the C# client emitter: @typespec/http-client-csharp