Skip to content

Generated v1.0 models and request builders using Typewriter#561

Merged
baywet merged 3 commits intodevfrom
v1.0/pipelinebuild/4090728
Nov 20, 2020
Merged

Generated v1.0 models and request builders using Typewriter#561
baywet merged 3 commits intodevfrom
v1.0/pipelinebuild/4090728

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Nov 19, 2020

This pull request was automatically created by the GitHub Action, create pull request.

The commit hash is b216a8b.

Important Check for unexpected deletions or changes in this PR.

  • update version in gradle.properties and Constants.java.

  • update version in readme.md

  • create tag and release

cc: @darrelmiller

zengin
zengin previously approved these changes Nov 19, 2020
public void post(final AppRoleAssignment newAppRoleAssignment, final ICallback<? super AppRoleAssignment> callback) {
final String requestUrl = getBaseRequest().getRequestUrl().toString();
final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/ownersAsAppRoleAssignment/" + newAppRoleAssignment.id);
final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/registeredUsersAsAppRoleAssignment/" + newAppRoleAssignment.id);
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.

@zengin @MIchaelMainer I'm not sure where this is coming from, none of those endpoints seem to exist, unless some private preview kind of leaked in the public metadata?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks like influence from the cast/filter functionality. Neither of these URLs are correct. This requires an investigation.

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.

created #562

baywet
baywet previously approved these changes Nov 19, 2020
public void post(final AppRoleAssignment newAppRoleAssignment, final ICallback<? super AppRoleAssignment> callback) {
final String requestUrl = getBaseRequest().getRequestUrl().toString();
final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/ownersAsAppRoleAssignment/" + newAppRoleAssignment.id);
final ReferenceRequestBody body = new ReferenceRequestBody(getBaseRequest().getClient().getServiceRoot() + "/me/registeredUsersAsAppRoleAssignment/" + newAppRoleAssignment.id);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This looks like influence from the cast/filter functionality. Neither of these URLs are correct. This requires an investigation.

import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.concurrency.ICallback;
import com.microsoft.graph.models.extensions.ServicePrincipal;
import com.microsoft.graph.models.extensions.Device;
Copy link
Copy Markdown
Collaborator

@MIchaelMainer MIchaelMainer Nov 19, 2020

Choose a reason for hiding this comment

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

These ServicePrincipal to Device and Group change doesn't make sense. Actually, neither one of the models makes sense here.

update This looks like a change to match interfaces.

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.

I noticed that my change from a few months ago from star imports to selective imports sometimes over imports.
But that's not a big problem on it's own.

Copy link
Copy Markdown
Collaborator

@MIchaelMainer MIchaelMainer left a comment

Choose a reason for hiding this comment

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

The issues in the PR were already present and don't represent breaking new changes. We have a tracking item for the URL segments.

@baywet baywet merged commit 08abb6b into dev Nov 20, 2020
@baywet baywet deleted the v1.0/pipelinebuild/4090728 branch November 20, 2020 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants