Skip to content

Conversation

irvinesunday
Copy link
Contributor

Fixes #109
Fixes https://github.com/microsoftgraph/microsoft-graph-devx-api/issues/637

This PR:

  • Updates the ODataPathProvider.cs to ensure generation of paths for stream properties declared both in the target type definitions and their base types.
  • Updates the ODataPathProviderTests.cs to validate the above. Also refactors the target test for readability and conciseness.
  • Refactors the MediaEntityOperationalHandler.cs class and its derived classes to use the abstraction -
    ODataNavigationSourceSegment to define the NavigationSourceSegment for a path. This helps in general maintainability and code conciseness.

@irvinesunday irvinesunday added the type:bug A broken experience label Jul 14, 2021
@irvinesunday irvinesunday self-assigned this Jul 14, 2021
@xuzhg
Copy link
Contributor

xuzhg commented Jul 14, 2021

:shipit:

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

Labels

type:bug A broken experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paths to access Stream properties are not generated when property is in a base type.

2 participants