I am sending a request via Postman 11.52.4:
pm.variables.set("Count", "10")
pm.variables.set("Target_Date", "2022-01-01")
pm.request.url.query.add(
{key: "date", value: `gt${ pm.variables.get("Target_Date") }`}
)
pm.request.url.query.add(
{key: "_count", value: pm.variables.get("Count")}
)
The method I need to land in is:
public override xxxxRelationalQuery<xxxxProcedure> AddValueFilter(string
parameterName, DateTimeValue value)
{
var currentDate = DateTime.Parse(value.Period.OriginalValue).Date;
switch (value.Operator)
{
case ComparisonOperator.GT:
return PredicateQuery(procedure => procedure.EventDate > currentDate);
............... etc
}
}
But I do not get there. Instead I go here:
public override xxxxRelationalQuery<xxxxProcedure>
AddValueFilter(string parameterName, RawValue value)
{
}
I don't understand why I do not hit the correct method overload.