-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Incorporate API Review feedback #25375
Conversation
{ | ||
var extension = OptionsBuilder.Options.FindExtension<InMemoryOptionsExtension>() | ||
?? new InMemoryOptionsExtension(); | ||
|
||
extension = extension.WithNullabilityCheckEnabled(nullabilityCheckEnabled); | ||
extension = extension.WithNullabilityCheckEnabled(nullChecksEnabled); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With method name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, it’s internal. (I actually did change it, but reverted before sending the PR.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well in that case, I am fine with anything.
@@ -31,7 +31,7 @@ public void IsRequired_for_property_throws_while_inserting_null_value() | |||
|
|||
var optionsBuilder = new DbContextOptionsBuilder() | |||
.UseModel(modelBuilder.FinalizeModel()) | |||
.UseInMemoryDatabase(nameof(NullabilityCheckInMemoryTest), b => b.EnableNullabilityCheck()) | |||
.UseInMemoryDatabase(nameof(NullabilityCheckInMemoryTest), b => b.EnableNullChecks()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be change nameof arg?
Hello @bricelam! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Part of #24743