-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Linq.Dynamic.Core failure when parsing rules #96
Comments
i modified the basic example to reflect your issue and it works fine.
i am making an assumption here that you are calling the wrong method signature for ExecuteAllRulesAsync. compare the original BasicDemo to new Basic example. the method signatures that use params as a parameter are the original methods with CancellationToken added to them @dbelcham if my comment has helped please let me know so i can close this ticket |
I'm afraid this is not solved. Apparently the authors of |
@Matthias-Meyer the reported issue is improper use of RulesEngine. i tested against the current version and examples and see no issue |
@asulwer I don't think so, see: |
@Matthias-Meyer Are you on the latest version and is it working?, currently on version 1.6.0.1 and still experiencing the same issue. |
two constructors exist, i see that now. missing and set and no longer optional. RulesEngine uses the first constructor which sets that parameter to false. regardless, i altered the two Basic demos to reflect the originally posted issue and the issue is not appearing. what am i missing? |
I'm getting the following error when running rules.
I am referencing the following
which pulls in (as of today)
System.Linq.Dynamic.Core
version1.5.1
as a transitive dependency.This was also a problem in the original codebase and mention of it can be found here and here
I cannot find an issue or code commit in this repo that addresses those original comments/issues.
I did have this working (with the pre-fork library) when the transitive dependency was picking up
System.Linq.Dynamic.Core
version1.4.5
. Testing both the pre-fork and this library with1.5.1
results in both throwing the same error. Looking at the code for the dynamic linq stuff, it looks like they might have introduced a breaking change which is causing all of this.What is odd to me is that the
RulesEngine.csproj
references a pinned version of that library at1.4.3
, but the Nuget definition is showingSystem.Linq.Dynamic.Core (>= 1.4.6)
. What is in the csproj would point at a working version of the Linq library, but nuget is allowing for1.5.1
to be picked up. I can't find where you have defined the creation of the nupkg in any of the pipeline files so I'm not sure how that difference is being created.The text was updated successfully, but these errors were encountered: