Skip to content

[http-client-csharp] discriminator message should be added when the type is a discriminated base instead of checking abstract #11397

Description

@ArcturusZhang

I think this condition is inaccurate.
we should be building the following description when there is a base type in a discriminated set.
the fact whether this model is abstract or not is implementation details.
in downstream emitters, they might not still model discriminated base type "abstract" (such as the provisioning emitter)

Originally posted by @ArcturusZhang in #10988

Metadata

Metadata

Labels

bugSomething isn't workingemitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions