-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Query: API Cleanup #20767
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Query: API Cleanup #20767
Conversation
src/EFCore.Relational/Query/SqlExpressions/SqlFunctionExpression.cs
Outdated
Show resolved
Hide resolved
@dotnet/efcore - This PR makes some API breaks & changes nullability annotations which could break functionality where API was incorrectly used. All the changes are due to incorrect API in first place. If things are done right way, then it all works. Please review, if needed, we can bring this to design meeting on Wednesday. |
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.
See only note about niladic management in SqlFunctionExpression.
I think nullability annotation changes are fine, as we said in triage...
e500f5d
to
656943a
Compare
@AndriySvyryd - Added back obsolete methods. |
Distinction is intentional. I posted alternatives if distinction is not preferred. The dislike towards distinction has nothing to do with ctor/factory methods. Please file a new issue with exact problem you are seeing.
656943a
to
62a5f50
Compare
@dotnet/aspnet-build @bricelam - What is causing incorrect names in test reporting in azure pipeline? |
With regard to obsolete methods, we should err on the side of doing them. Avoiding simple binary breaks has value--it just takes one being used by some provider/extension to prevent that provider/extension being usable without a rebuild. |
Are we testing that 3.1 providers work with 5.0 EF Core? If there is going to be one API which causes break then there is no benefit of going through trouble of having 99 other API avoid break. It won't work either way. |
@smitpatel Yes, we are going to do more testing with things that currently work in 3.1. |
No description provided.