1
0
mirror of https://github.com/Biarity/Sieve.git synced 2025-04-15 00:08:00 +02:00

reverting fix ()

* Revert to _mapper assignment in constructor.

* reverting fix
This commit is contained in:
Hasan Manzak 2021-05-16 19:42:41 +03:00 committed by GitHub
parent cc9c2b0a9a
commit 7a48ba8d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -399,7 +399,7 @@ namespace Sieve.Services
private (string, PropertyInfo) GetSieveProperty<TEntity>(bool canSortRequired, bool canFilterRequired,
string name)
{
var property = Mapper.FindProperty<TEntity>(canSortRequired, canFilterRequired, name,
var property = _mapper.FindProperty<TEntity>(canSortRequired, canFilterRequired, name,
Options.Value.CaseSensitive);
if (property.Item1 != null)
{