microsoft-graph-devx-api
microsoft-graph-devx-api copied to clipboard
Get the actual return type
Providing the actual return type versus implicitly typing the variable would provide more value.
There are business rules for determining the return type. For example, for collections, it is I*CollectionPage, where * is the return type in the collection with an optional name of the OData action. IMailFolderDeltaCollectionPage is an example of this.
Originally posted by @andrueastman in https://github.com/microsoftgraph/microsoft-graph-explorer-api/pull/41#issuecomment-492126468 AB#7030
I would agree when we are not explicitly doing a new Type().