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

More precise index scaffolding warning #3989

Merged
merged 1 commit into from
Dec 9, 2015

Conversation

roji
Copy link
Member

@roji roji commented Dec 6, 2015

Missing property is only one reason for failing to scaffold an index. Providers may override VisitIndex and return null for other reasons, in which case it's their responsibility to log a warning.

@lajones
Copy link
Contributor

lajones commented Dec 7, 2015

I'm fine with this. @natemcmaster any comments?

@natemcmaster
Copy link
Contributor

Also fine with this change. @roji can you first cleanup build errors? They are due to remaining references to RelationalDesignStrings.UnableToScaffoldIndex in test\EntityFramework.MicrosoftSqlServer.Design.FunctionalTests\ReverseEngineering\SqlServerE2ETests.cs

@lajones
Copy link
Contributor

lajones commented Dec 9, 2015

@roji - do you think this will be checked in soon? I need to make the same change as part of the fix for #3710. Or if you prefer I can just include your change with mine?

Missing property is only one reason for failing to scaffold an index.
Providers may override VisitIndex and return null for other reasons, in
which case it's their responsibility to log a warning.
@roji
Copy link
Member Author

roji commented Dec 9, 2015

Sorry for taking long with the cleanup, real life gets in the way... I've rebased on dev, corrected the reference and push-forced to this PR.

@lajones
Copy link
Contributor

lajones commented Dec 9, 2015

No worries. That looks good. :shipit:

@lajones
Copy link
Contributor

lajones commented Dec 9, 2015

@roji Shall I merge it?

@roji
Copy link
Member Author

roji commented Dec 9, 2015

@lajones sure thing, unless there are other issues it looks good to me...

lajones added a commit that referenced this pull request Dec 9, 2015
More precise index scaffolding warning
@lajones lajones merged commit c33aca1 into dotnet:dev Dec 9, 2015
@lajones lajones added this to the 7.0.0-rc2 milestone Dec 9, 2015
@roji roji deleted the index-scaffold-warning branch February 15, 2019 14:39
@ajcvickers ajcvickers removed this from the 1.0.0-rc2 milestone Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants