Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Supports missing request body parameter#284

Merged
MIchaelMainer merged 2 commits intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
MIchaelMainer/fixMethodRequestBodymicrosoftgraph/MSGraph-SDK-Code-Generator:MIchaelMainer/fixMethodRequestBodyCopy head branch name to clipboard
Sep 8, 2020
Merged

Supports missing request body parameter#284
MIchaelMainer merged 2 commits intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
MIchaelMainer/fixMethodRequestBodymicrosoftgraph/MSGraph-SDK-Code-Generator:MIchaelMainer/fixMethodRequestBodyCopy head branch name to clipboard

Conversation

@MIchaelMainer
Copy link
Collaborator

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.