Skip to content

Commit

Permalink
Fix pipeline build
Browse files Browse the repository at this point in the history
  • Loading branch information
enisn committed Oct 17, 2023
1 parent 1c1a1a9 commit c5509bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoFilterer.Dynamics/DynamicFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Expression BuildExpression(Type entityType, Expression body)
{
var getter = this.GetType().GetMethod("get_Item");
var filterPropertyExpression = Expression.Call(Expression.Constant(this), getter, Expression.Constant(key));
var filterValue = getter.Invoke(this, parameters: [key]);
var filterValue = getter.Invoke(this, parameters: new object[] { key });
if (IsPrimitive(key))
{
var targetProperty = entityType.GetProperty(key);
Expand Down

0 comments on commit c5509bc

Please sign in to comment.