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(Typetype,Expressionexpression) line 1891ExpressionParser.ParsePrimary() line 819ExpressionParser.ParseUnary() line 806ExpressionParser.ParseArithmetic() line 751ExpressionParser.ParseAdditive() line 718ExpressionParser.ParseShiftOperator() line 694ExpressionParser.ParseComparisonOperator() line 492ExpressionParser.ParseLogicalAndOrOperator() line 414ExpressionParser.ParseIn() line 325ExpressionParser.ParseAndOperator() line 308ExpressionParser.ParseOrOperator() line 290ExpressionParser.ParseLambdaOperator() line 270ExpressionParser.ParseNullCoalescingOperator() line 257ExpressionParser.ParseConditionalOperator() line 241ExpressionParser.Parse(TyperesultType,BooleancreateParameterCtor) line 156DynamicExpressionParser.ParseLambda(TypedelegateType,ParsingConfigparsingConfig,BooleancreateParameterCtor,ParameterExpression[]parameters,TyperesultType,Stringexpression,Object[]values) line 121DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,BooleancreateParameterCtor,ParameterExpression[]parameters,TyperesultType,Stringexpression,Object[]values) line 98DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,BooleancreateParameterCtor,TypeitType,TyperesultType,Stringexpression,Object[]values) line 357DynamicExpressionParser.ParseLambda(ParsingConfigparsingConfig,TypeitType,TyperesultType,Stringexpression,Object[]values) line 319DynamicExpressionParserTests.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: