You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Linq.Dynamic.Core.Exceptions.ParseException : Enum value 'Key' is not defined in enum type 'System.Linq.Dynamic.Core.Tests.UserInfo'
2. Exception
The first stack trace:
System.Linq.Dynamic.Core.Exceptions.ParseException : No property or field 'Key' exists in type 'User'
Stack Trace:
ExpressionParser.ParseMemberAccess(Type type, Expression expression) line 1891
ExpressionParser.ParsePrimary() line 819
ExpressionParser.ParseUnary() line 806
ExpressionParser.ParseArithmetic() line 751
ExpressionParser.ParseAdditive() line 718
ExpressionParser.ParseShiftOperator() line 694
ExpressionParser.ParseComparisonOperator() line 492
ExpressionParser.ParseLogicalAndOrOperator() line 414
ExpressionParser.ParseIn() line 325
ExpressionParser.ParseAndOperator() line 308
ExpressionParser.ParseOrOperator() line 290
ExpressionParser.ParseLambdaOperator() line 270
ExpressionParser.ParseNullCoalescingOperator() line 257
ExpressionParser.ParseConditionalOperator() line 241
ExpressionParser.Parse(Type resultType, Boolean createParameterCtor) line 156
DynamicExpressionParser.ParseLambda(TypedelegateType,ParsingConfigparsingConfig,BooleancreateParameterCtor, ParameterExpression[]parameters,TyperesultType,Stringexpression, Object[]values) line 121
DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,BooleancreateParameterCtor, ParameterExpression[]parameters,TyperesultType,Stringexpression, Object[]values) line 98
DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,BooleancreateParameterCtor,TypeitType,TyperesultType,Stringexpression, Object[]values) line 357
DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,TypeitType,TyperesultType,Stringexpression, Object[]values) line 319
DynamicExpressionParserTests.DynamicExpressionParser_ParseLambda_Operator_Less_Greater_With_Guids() line 1465
3. Fiddle or Project
Again, I have done changes in DynamicExpressionParserTests only locally.
4. Any further technical details
The first version of expression (non-full type name) was working v.1.0.8.18.
But it is not working on the release version 1.3.8.
Is it possible to fix it?
The text was updated successfully, but these errors were encountered:
In continuation of #759
1. Description
Simplified demo:
I try to parse the expression this way:
But I got exception:
If I put the full type name:
I have another exception:
2. Exception
The first stack trace:
3. Fiddle or Project
Again, I have done changes in DynamicExpressionParserTests only locally.
4. Any further technical details
The first version of expression (non-full type name) was working v.1.0.8.18.
But it is not working on the release version 1.3.8.
Is it possible to fix it?
The text was updated successfully, but these errors were encountered: