-
Notifications
You must be signed in to change notification settings - Fork 4k
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
NullableAttribute constructor parameter should be stored in a field #30143
Comments
Re-purposed this issue for NullableAttribute instead of NonNullTypesAttribute (which is being removed) |
And although this seems pretty obvious, the value(s) should be exposed via a public property :) My scenario is modifying Entity Framework Core to detect nullable vs. non-nullable properties and set up the database model accordingly (so that non-nullable properties cause non-nullable database columns to be created). So the nullability information recorded in the attribute must be accessible to us via reflection. Would it be possible to prioritize this somewhat (especially as it seems simple)? We'd like to make sure this works early, allow users to test etc. |
Blocked by dotnet/roslyn#30143
Blocked by dotnet/roslyn#30143
No description provided.
The text was updated successfully, but these errors were encountered: