Closed OlegNadymov closed 8 months ago
@OlegNadymov
I assume that you did add that UserInfo
to the types in that TestCustomTypeProvider ?
Yes, I did:
The problem in my case is the class User
has property named UserInfo
exactly as static class UserInfo
(like in my demo above).
PR merged, a new NuGet will be released in some time
In continuation of https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/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?