-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Getting Enum fields/attributes in trimmed and AOT'd applications #105506
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas |
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas |
Similar to #97737, we should support more scenarios where we know a Type is an Enum type without emitting warnings.
The example scenario comes from https://github.com/microsoft/OpenAPI.NET/pull/1717/files#diff-c59c9153ccf5e00142826d1c5e4d3d92470aac0bc740a302a23557432141277c
This code shouldn't warn because
type
is guaranteed to be an Enum type.This scenario was explicitly not supported in #105351. We should support it.
cc @sbomer @MichalStrehovsky
The text was updated successfully, but these errors were encountered: