We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Having a Dynamic Object with a null value for a Property results in the following error:
LogParsing.ExpressionEvaluatorSyntaxErrorException: '[System.Dynamic.ExpandoObject] object has no public Property or Member named "NullValue".'
dynamic MyDynamic = new System.Dynamic.ExpandoObject(); MyDynamic.NullValue = null; ExpressionEvaluator evaluator = new ExpressionEvaluator(); evaluator.Variables = new Dictionary<string, object>() { { "md", MyDynamic }, }; string expression = "md.NullValue ?? \"A\""; var exp = evaluator.Evaluate(expression);
Verified on the latest version of the code. Any ideas?
The text was updated successfully, but these errors were encountered:
Correction of bug #67 When a ExpandoObject has a null property
976e070
Hello @doug-episource thanks for this issue.
Yes it was a bug in the way of evaluating properties on an ExpandoObject, I just published version 1.4.16.0 that correct it.
Sorry, something went wrong.
Great news! Thank you so much for the quick response and fix for the the issue!
codingseb
No branches or pull requests
Having a Dynamic Object with a null value for a Property results in the following error:
LogParsing.ExpressionEvaluatorSyntaxErrorException: '[System.Dynamic.ExpandoObject] object has no public Property or Member named "NullValue".'
Verified on the latest version of the code. Any ideas?
The text was updated successfully, but these errors were encountered: