Comments (6)
I found that FastExpressionCompiler changes this behavior.
Changing line
to
return wrappedExpression.Compile();
fix this problem.
This is bug for me.
from rulesengine.
Linked dadhi/FastExpressionCompiler#380
from rulesengine.
@celi i can maybe add option to disable fast compile if needed, it will be a tradeoff between performance vs accuracy
Would that work for you?
from rulesengine.
@abbasc52 Yes, please.
I didn't test decrease of performance without FastExpressionCompiler yet, but I plan to do that. It will be easier with this switch.
from rulesengine.
@celi can you share complete sample code to reproduce this issue?
from rulesengine.
@abbasc52 https://github.com/celi/MsRulesEngineCompareWithNullBug
just run dotnet run
in project folder
from rulesengine.
Related Issues (20)
- Getting exception by using NetTopologySuite objects inside rule expression HOT 2
- .Net8 HOT 2
- Is it possible to get the RulesEngine instance in the custom Action? HOT 1
- New Operators: SequentialAnd and SequentialOr HOT 4
- GlobalParams HOT 1
- Handling of List type child property HOT 5
- Are there future plans to support multiple success or fail actions? HOT 4
- Pass additionalInputs to EvaluateRule Action HOT 1
- How to do nested if else HOT 3
- Using OnSuccess/OnFailure Actions within a rule causes a NullReferenceException when the Context is not defined
- Utils.GetTypedObject fails to type lists of objects with nullable values HOT 2
- Using inputFilter and additionalInputs functionality issues HOT 1
- Compiling rules into JS - is it supported/planned?
- RulesEngine lifetime and thread-safety HOT 4
- Custom Name of Parameter not being honored. HOT 2
- Cannot use math from System.Math HOT 2
- Unexpected True Result from Expression Evaluation with Default ReSettings
- Custom method is not being called with ExecuteActionWorkflowAsync; throwing parser error. HOT 1
- Rule Engine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rulesengine.