Expands navigation properties of derived types only if declaring navigation property is a containment#302
Conversation
|
Thanks @irvinesunday |
|
Adding more information for context: The table below shows the number of beta paths generated when the two convert settings
@peombwa / @timayabi2020 we might need to verify the generated OpenAPI document with PowerShell to verify whether there are any modules that might break AutoREST due to the increase in size. |
Thanks @irvinesunday for the breakdown! Since OData type cast is currently not enabled in DevX API, we may see an increase of Also, is |
Yes @peombwa, both settings are currently set to |
baywet
left a comment
There was a problem hiding this comment.
I'm a bit worried by the increase in the number of paths here, but I think we need to validate it before making a final decision. It'd be interesting to have a comparison of the newly added paths and see whether the service actually understands them. Especially for "deep" paths.
|
(sorry about the auto-merge) |
Fixes #269
This PR:
To fully resolve the aforementioned issue, the below convert settings need to be set to
true:ExpandDerivedTypesNavigationPropertiesAppendBoundOperationsOnDerivedTypeCastSegmentsWith the above fix and the above settings set to
true, the result, for the examples provided in the issue, will be:https://docs.microsoft.com/en-us/graph/api/ediscovery-caseexportoperation-getdownloadurl?view=graph-rest-beta

https://docs.microsoft.com/en-us/graph/api/intune-apps-mobileappcontentfile-commit?view=graph-rest-1.0
