Skip to content

feature/java request interfaces inheritance #290

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 12, 2020

Conversation

baywet
Copy link
Member

@baywet baywet commented Sep 11, 2020

Summary

In the work to get batches working (microsoftgraph/msgraph-sdk-java#463) the fact that request interfaces do not inherit from IHttpRequest requires consumers to do dangerous casting to access the baserequest methods (and are implemented by the entity request class).

This removes the need for casting.

Generated code differences

microsoftgraph/msgraph-sdk-java@aa0b2c3

Command line arguments to run these changes

Provide the command line arguments here so that reviewers can quickly repro the results of changes.

Links to issues or work items this PR addresses

@baywet baywet self-assigned this Sep 11, 2020
@baywet baywet merged commit 2c04586 into dev Sep 12, 2020
@baywet baywet deleted the feature/java-request-interfaces-inheritance branch September 12, 2020 01:37
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.

2 participants