Skip to content

add funcOptions to requestOptions - #857

Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 3 commits into
devfrom
rsh/java/missingFuncOptions
Oct 26, 2022
Merged

Ramses Sanchez-Hernandez (ramsessanchez) merged 3 commits into
devfrom
rsh/java/missingFuncOptions

Conversation

@ramsessanchez

@ramsessanchez Ramses Sanchez-Hernandez (ramsessanchez) commented Oct 25, 2022 •

Copy link
Copy Markdown
Contributor

microsoftgraph/msgraph-sdk-java#1063
As noted in this issue, we are not adding function options to our request options on all methods which include parameters. The issue is due to the fact that we do not check the method overloads for whether they have parameters or not when we generate the BuildRequest() methods. In some cases the topmost Ocdm method of the class does not have parameters and in such cases, we fail to add these parameters to the request options. By checking all instances of the method, and whether any overloads include parameters, we can cover scenarios where some overloads have parameters and others don't.

Microsoft Reviewers: Open in CodeFlow

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.

Specified range is not being pull in worksheet in graph api.

2 participants