Closed ChasakisD closed 2 months ago
👋 thanks for the effort and callout here! Yeah this should be doable but not sure exactly what the issue is without digging into it a bit. This looks like the right area are first glance though. Might just need some finer tweaks to make the rest of the flow happy.
Hi! First of all, I would like to say a thank you for this awesome library and effort you have put into it.
I have a case where in your test cases, let's say
Ingredient
class has a new propertyThen the following test should succeed
But it fails with the following exception
From my understanding in this line, you try to parse int, but you ignore type compatibility. https://github.com/pdevito3/QueryKit/blob/245ad0d8822d68a68e42ce0cdbe112347c683dfd/QueryKit/FilterParser.cs#L177-L177
A check of the generic type param of the enumerable should be made in order to convert the according constant values to the equivalent type (in our case
long
instead ofint
)I tried the following code to replace that if statement but I have some failing tests
I would appreciate your help in here!
Thanks again!