Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling an action with optional parameter not present in payload should not fail even if not nullable #1216
When there is an OData Action that accepts optional parameters that are not nullable and client sends request without that parameter in requests payload, an
However, I do not see anything illegal in not sending an optional parameter; regardless if it is nullable or not.
The trouble seems to be in
At present time I have decided to put all my optional parameters to be nullable too. I do not like it, but there are no major drawbacks either.