Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestCharge not available for CosmosQueryResponse<T> #21

Closed
hsavran opened this issue Dec 27, 2018 · 2 comments
Closed

RequestCharge not available for CosmosQueryResponse<T> #21

hsavran opened this issue Dec 27, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hsavran
Copy link

hsavran commented Dec 27, 2018

I can not access Resources.RequestCharge in CosmosQueryResponse object.

To recreate
var resultSet = await querysetIterator.FetchNextSetAsync();

There is no way to get RequestCharge in resultSet. FeedResponse object is private.

@yarseyah
Copy link

+1 was just checking whether anyone else had spotted this as I'm trying to keep a close eye on the query costs and found this is missing from the Query methods, but present on the Create, Upsert, etc methods.

@kirankumarkolli kirankumarkolli added the bug Something isn't working label Jan 30, 2019
@kirankumarkolli kirankumarkolli changed the title Resources is non-public under CosmosQueryResponse<T> RequestCharge not available for CosmosQueryResponse<T> May 9, 2019
@j82w
Copy link
Contributor

j82w commented May 14, 2019

Request charge is now available: #177

@j82w j82w closed this as completed May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants