I have a filter on one of my entities
entity.HasQueryFilter(x => !x.IsDeleted);
and I keep getting the following warnings in logs which I like to turn off
Entity '"Event"' has a global query filter defined and is the required end of a relationship with the entity '"EventCategory"'. This may lead to unexpected results when the required entity is filtered out. Either configure the navigation as optional, or define matching query filters for both entities in the navigation. See https://go.microsoft.com/fwlink/?linkid=2131316 for more information.