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
Hello, Thank you for the library but i have a following problem
Sample: var list = new short[] { 1, 2, 3, 4, 5, 6, 7 }; var result= list.AsQueryable().Where("it in (1,2)");
var list = new short[] { 1, 2, 3, 4, 5, 6, 7 };
var result= list.AsQueryable().Where("it in (1,2)");
This code is not working and throwing error System.Linq.Dynamic.Core.Exceptions.ParseException: 'Expression of type 'System.Int16' expected'
This problem might be solved like this: if (value <= (int)short.MaxValue) return CreateLiteral((short)value, text);
if (value <= (int)short.MaxValue) return CreateLiteral((short)value, text);
in ExpressionParse.cs function Expression ParseIntegerLiteral()
Expression ParseIntegerLiteral()
P
The text was updated successfully, but these errors were encountered:
#90 (ParseIntegerLiteral Int16)
ea332ca
#90
cbb3900
Your proposed code change broke some unit-tests, so I did fix this problem in another piece of code.
Please take a look.
Sorry, something went wrong.
StefH
No branches or pull requests
Hello,
Thank you for the library but i have a following problem
Sample:
var list = new short[] { 1, 2, 3, 4, 5, 6, 7 };
var result= list.AsQueryable().Where("it in (1,2)");
This code is not working and throwing error System.Linq.Dynamic.Core.Exceptions.ParseException: 'Expression of type 'System.Int16' expected'
This problem might be solved like this:
if (value <= (int)short.MaxValue) return CreateLiteral((short)value, text);
in ExpressionParse.cs function
Expression ParseIntegerLiteral()
P
The text was updated successfully, but these errors were encountered: