Uh oh!
There was an error while loading. Please reload this page.
Expands navigation properties of derived types only if declaring navigation property is a containment - #302
Conversation
Andrew Omondi (andrueastman)
commented
Oct 31, 2022
Uh oh!
There was an error while loading. Please reload this page.
Irvine Sunday (irvinesunday)
commented
Oct 31, 2022
Adding more information for context: The table below shows the number of beta paths generated when the two convert settings
Peter Ombwa (@peombwa) / Tim (@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. |
Peter Ombwa (peombwa)
commented
Oct 31, 2022
Thanks Irvine Sunday (@irvinesunday) for the breakdown! Since OData type cast is currently not enabled in DevX API, we may see an increase of Also, is |
Irvine Sunday (irvinesunday)
commented
Oct 31, 2022
Yes Peter Ombwa (@peombwa), both settings are currently set to |
Vincent Biret (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.
Vincent Biret (baywet)
commented
Nov 1, 2022
(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
