mparlak / Flee

Fast Lightweight Expression Evaluator
607 stars 119 forks source link

[Request] Support for nullable date comparison #68

Open Eagle3386 opened 5 years ago

Eagle3386 commented 5 years ago

Please add support for comparisons with null-operands, i. e.:

var context = new ExpressionContext { ParserOptions = { DateTimeFormat = "yyyy-MM-dd" } };
var result = context.CompileDynamic("NULL <= #2019-07-20#").Evaluate();

should initialize result with false as any comparison with NULL resolves to that, except NULL == NULL which is indeed true, of course.

Eagle3386 commented 4 years ago

@mparlak Any update?