Supports missing request body parameter by MIchaelMainer · Pull Request #284 · microsoftgraph/MSGraph-SDK-Code-Generator

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Conversation

@MIchaelMainer

Copy link Copy Markdown

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 Copy Markdown

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 reacted with thumbs up emoji

@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

Reviewers

@zengin zengin Awaiting requested review from zengin

2 more reviewers

@baywet baywet baywet approved these changes

@nikithauc nikithauc nikithauc approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@MIchaelMainer @baywet @nikithauc