Skip to content

Supports missing request body parameter #284

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

Merged
merged 2 commits into from
Sep 8, 2020

Conversation

MIchaelMainer
Copy link
Contributor

CSDL reordering triggered this regression. Discovered that reordered overloaded action, evaluateDynamicMembership was missing a property. We were only capturing parameters for the first overload. We need to capture all of the parameters which this commit fixes.

image

Discovered that reordered overloaded action, evaluateDynamicMembership
exposed that we were only capturing parameters for the first overload.
We need to capture all of the parameters which this commit fixes.
/// <returns>A deduplicated list of OdcmParameter.</returns>
public static List<OdcmParameter> WithDistinctParameters(this OdcmMethod odcmMethod)
{
var distinctMethods = odcmMethod.WithDistinctOverloads();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MIchaelMainer I love it, building on what I added a couple of weeks ago ❤

@MIchaelMainer MIchaelMainer merged commit 835c741 into dev Sep 8, 2020
@MIchaelMainer MIchaelMainer deleted the MIchaelMainer/fixMethodRequestBody branch September 8, 2020 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants