Closed MikeAlhayek closed 2 months ago
Error Message:
System.InvalidOperationException : Operation is not valid due to the current state of the object.
Stack Trace:
at System.Reflection.RuntimeMethodInfo.GetGenericMethodDefinition()
Probably due to the changes methods (string to char) that I mentioned. It can't find the method (the one accepting a char) and tried to get the generic form but fails
In DefaultQuery
there is MethodMappings.TryGetValue(methodInfo.GetGenericMethodDefinition(), out action)
which should check if it's a generic method before.
You still need to use the "string" based one
This PR apply some cleanup.
Also adds char support for StartsWith, EndsWith, and Contains