You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jcouv
changed the title
NonNullTypesAttribute constructor parameter should be stored in a field
NullableAttribute constructor parameter should be stored in a field
Nov 16, 2018
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.
roji
added a commit
to roji/efcore
that referenced
this issue
Feb 5, 2019
No description provided.
The text was updated successfully, but these errors were encountered: