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

FeedResponse<T> status code now return OK for success instead of the invalid status code 0 or Accepted #626

Merged
merged 8 commits into from
Aug 7, 2019

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Aug 2, 2019

Pull Request Template

Description

The FeedResponse status code was not being set. This was caused by the child class not override the value. I removed the overrides to force the child classes to implement to the logic.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Closing issues

Put closes #625

@j82w j82w added bug Something isn't working QUERY labels Aug 2, 2019
@j82w j82w self-assigned this Aug 2, 2019
changelog.md Outdated
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- [#612](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/612) Bug fix for ReadFeed with partition-key
- [#614](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/614) Fixed SpatialPath serialization and compatibility with older index versions
- [#626](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/626) Fixed FeedResponse<T> status code
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please elaborate little more with what's the issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the updated title

Copy link
Member

@kirankumarkolli kirankumarkolli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refresh changelog

@j82w j82w changed the title Fixed FeedResponse status code FeedResponse<T> status code now return OK for success instead of the invalid status code 0 or Accepted Aug 3, 2019
@kirankumarkolli kirankumarkolli merged commit 7698311 into master Aug 7, 2019
@kirankumarkolli kirankumarkolli deleted the users/jawilley/query_status_code branch August 7, 2019 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working QUERY
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container Iterators' ReadNextAsync return inconsistent HttpStatusCodes
2 participants