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 : No property or field 'MinimumSalary' exists in type 'Employee'
The parser ignores the identifiers (e and it) and uses automatically the last lambda that was declared, which leads to an error when trying to access the Company object inside the Employee lambda.
However, this behavior works as expected on a regular linq expression:
Trying to parse a dynamic linq expression with multiple lambdas, when accessing an object declared on a parent lambda, throws an error:
The parser ignores the identifiers (
e
andit
) and uses automatically the last lambda that was declared, which leads to an error when trying to access theCompany
object inside theEmployee
lambda.However, this behavior works as expected on a regular linq expression:
The text was updated successfully, but these errors were encountered: