microsoft-graph-devx-api icon indicating copy to clipboard operation
microsoft-graph-devx-api copied to clipboard

Get the actual return type

Open MIchaelMainer opened this issue 6 years ago • 1 comments

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

MIchaelMainer avatar May 14 '19 16:05 MIchaelMainer

I would agree when we are not explicitly doing a new Type().

darrelmiller avatar May 15 '19 16:05 darrelmiller