Skip to content

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.

3 participants