microsoft / microsoft/typespec

[Design]: Support Discriminated Unions in all client emitters

Open
#8,510 9 comments 0 reactions 0 assignees View on GitHub
emitter:client:all
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

### Clear and concise description of the problem
Unions can be marked as discriminated using the `@discriminated` decorator. however, all the existing emitters haven't support this features.
We need to support Discriminated Unions

This issue is created to track all the design discussion to support Discriminated Unions

cc @tadelesh

It would be good if we could have a loop to enable people to comment directly.
TCGC discussion could be found in: https://github.com/microsoft/typespec/issues/8455

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.