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

Add support for nullable enum options #72800

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

CyrusNajmabadi
Copy link
Member

Extracted from #72494 to make that PR easier to review.

Currently, we support enum options, and we support nullable options in a few cases (like nullable-bool options). This adds support so we can have nullable enum options. In particular, for "Run SG on build" we want an enum controlling the behavior, but we want null to mean can be controlled with a feature flag.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 29, 2024 13:46
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 29, 2024
@CyrusNajmabadi
Copy link
Member Author

@genlu @Cosifne ptal

@CyrusNajmabadi CyrusNajmabadi merged commit acaba32 into dotnet:main Mar 29, 2024
27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the nullableEnumOptinos branch March 29, 2024 19:21
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 29, 2024
@Cosifne
Copy link
Member

Cosifne commented Mar 30, 2024

Oops, David beats me : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants