False positive global query filter warning for owned entities #26900
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
As mentioned here and similar to here, it seems like we may be getting a false positive global query filter warning (
PossibleIncorrectRequiredNavigationWithQueryFilterInteractionWarning
) for owned entities whose owners have a global filter query configured. Since, as far as I can tell, owned entities cannot be queried directly (apart from going through their owner) and they cannot have global query filters themselves, maybe we should not show this warning in this scenario.Sample Code
Include stack traces
N/A
Include verbose output
Include provider and version information
EF Core version:
6.0.0
Database provider:
Npgsql.EntityFrameworkCore.PostgreSQL
Target framework:
net6.0
Operating system:
Windows 10
IDE:
Visual Studio 2022
The text was updated successfully, but these errors were encountered: