Skip to content

Some RequestBuilder interfaces don't implement common IBaseRequestBuilder #266

Closed

Description

Describe the bug
See microsoftgraph/msgraph-sdk-dotnet-core#124 for details.

For instance IDriveRecentRequestBuilder is not a IBaseRequestBuilder even though its implementation could be:

https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/9b74c2674969008669e4c46ac85bda7e6ad8a728/src/Microsoft.Graph/Requests/Generated/IDriveRecentRequestBuilder.cs#L19

This makes it hard for us to accept a general builder as part of a helper API to make general calls to the graph in the Windows Community Toolkit Graph Control library

Expected behavior
All generated interfaces compatible with IBaseRequestBuilder should implement that interface as well as a base. This should be trivial as I believe the concrete implementations should all provide the pattern, so this should just about the generator adding the inheritance to the base interface.

AB#5125

Activity

  1. MIchaelMainer commented on Jul 24, 2020

    @MIchaelMainer
    Contributor

    Actually, I think this is a requirement if we are to support composable functions.

  2. ghost removed on Aug 3, 2020
  3. MIchaelMainer commented on Jan 26, 2021

    @MIchaelMainer
    Contributor

    This work was added with composable functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions