New issue
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
[Protocol] Int64 could not be used as key #123
Comments
Also not work for Int16:
|
Related odatalib issue: OData/odata.net#175 |
Perhaps this is naive, but I solved this problem by changing the construction of the constant in the CreateEqualsExpression method in RestierQueryBuilder so that it converts the property value to the type of the property:
|
@SaucyJack Nice solution! Looks good to me. Just one suggestion: can we ignore the second |
@lewischeng-ms Ah, I didn't see that there was an overload of Expression.Constant that didn't require the type (why would it require the type anyway, right?). I'll submit a pull request. RESTier is providing me with exactly the solution I need for our API so I'm very excited to use and contribute where I'm able. |
Already done by #294 |
@SaucyJack unfortunately PUT still throws an error where PATCH, POST, DELETE, GET works just fine.
|
@cilerler we always not take a look at closed issues unless someone check the mail notification and see comments, can you open a new issue if you have some issues, I do not want to reopen a closed issue, thanks. |
@chinadragon0515 done #380 |
metadata:
Response:
The text was updated successfully, but these errors were encountered: