Skip to content

Adopt new discriminated decorator for discriminated unions #6426

Open
@JoshLove-msft

Description

@JoshLove-msft

The old way of doing this with the discriminator decorator has been removed in #6286.

Here is the design - #2738

Prior to GA, TCGC will report an error. After GA, TCGC will add support for this decorator, so we will need to adopt it and re-enable the now failing Spector tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    emitter: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