-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposed underlying CosmosElements on item QueryResponse<T> using gene… (
#1018) * Exposed underlying CosmosElements on item QueryResponse<T> using generic type parameter. * Applied PR comment: - Switching to using 'as' rather than 'is' to save on reflection. * Applying PR comment: - Changing 'as' and 'null' check to inline 'is'. * Reverted to a specific type check for CosmosElement. - Trying to do the generic cast in all cases leads to CosmosElements being returned for QueryResponse<dynamic>.Resource and QueryResponse<object>.Resource, etc. - This gives us the least change to the behavior for users that might do these sorts of casts.
- Loading branch information
Showing
5 changed files
with
384 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.