Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt new discriminated decorator for discriminated unions #6426

Open
JoshLove-msft opened this issue Mar 13, 2025 · 0 comments
Open

Adopt new discriminated decorator for discriminated unions #6426

JoshLove-msft opened this issue Mar 13, 2025 · 0 comments
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@JoshLove-msft
Copy link
Contributor

JoshLove-msft commented Mar 13, 2025

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.

@JoshLove-msft JoshLove-msft added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Mar 13, 2025
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

No branches or pull requests

1 participant