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
[feature/netcore] ODataActionParameters is not binding parameters #1249
Comments
Any progress? |
I am running into the same issue! |
[FromBody] is no longer implicit in AspNetCore. We could add it by default but then you lose some control. From the docs:
See this test for an example. |
@robward-ms Thanks, but I see a problem with that. Although adding UPDATE: I just realized: I may be able to convert this into an OData function instead of an OData action... and solve it that way.. because I only have 1 param I am getting from the |
@robward-ms OK yes, I solved this by doing the following:
Seems to be working fine now. So for OData actions, we can only have 1 param and decorate it with @Domitnator Hope this helps you too... |
I am migrating some code from MVC5 to .NET Core and I can see that
ODataActionParameters
is not binding parameters.I am definitely registering the OData Action in the same way as before:
And I can see that the pageId param is definitely being sent in the request.
Anything else you need from me in order to investigate further? Thanks in advance.
The text was updated successfully, but these errors were encountered: