8000
No one assignedNo projectsNo milestoneNone yetNo branches or pull requests
Open
Description
First, thank you so much for publishing this project, I was looking for a lightweight way of passing and building filters and this is a great solution.
The name property of the Parameter constructor is optional but I was using this to build filters for an app using MongoDB Driver for C# and it required the name property to be set for some reason.
https://docs.microsoft.com/en-us/dotnet/api/system.linq.expressions.expression.parameter
in ExpressionBuilder\ExpressionBuilder.cs line 170 change from:
var param = Expression.Parameter(typeof(T));
to
var param = Expression.Parameter(typeof(T), propertyNameOrPath);