mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-27 04:33:23 +02:00
Allowed configuring properties with identical name
This commit is contained in:
@@ -31,6 +31,14 @@ namespace SieveUnitTests.Services
|
||||
mapper.Property<Post>(p => p.OnlySortableViaFluentApi)
|
||||
.CanSort();
|
||||
|
||||
mapper.Property<Comment>(c => c.AuthorFirstName.Value)
|
||||
.CanFilter()
|
||||
.HasName("firstName");
|
||||
|
||||
mapper.Property<Comment>(c => c.AuthorLastName.Value)
|
||||
.CanFilter()
|
||||
.HasName("lastName");
|
||||
|
||||
return mapper;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user