Skip to content

Mention Discriminated Unions - #308

Open
Benny Neugebauer (bennycode) wants to merge 2 commits into
microsoft:mainfrom
bennycode:patch-1
Open

Benny Neugebauer (bennycode) wants to merge 2 commits into
microsoft:mainfrom
bennycode:patch-1

Conversation

@bennycode

Copy link
Copy Markdown

The day property is being used as a discriminator to distinguish between WeekdaySchedule and WeekendSchedule, which is why I want to highlight the concept of discriminated unions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant