-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Following situation doesn't work for Country.Name
:
public class CityFilterDto : BaseFilterDto
{
[CompareTo("Name", "Country.Name")]
[StringFilterOptions(StringFilterOption.Contains)]
public string Filter { get; set; }
}
-
Expected Expression is:
.Where(x => x.Name.Contains("Turkey") || x.Country.Name.Contains("Turkey"))
-
Generated Expression is
.Where(x => x.Name.Contains("Turkey").Where(x.Name.Contains("Turkey")))
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working