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

Add the deprecation note to the total_count field #1213

Closed
wants to merge 1 commit into from

Conversation

ethervoid
Copy link

total_count property is not available anymore becuse it was removed in May 26th 2020

total_count property is not available anymore becuse it was removed in May 26th 2020
@CLAassistant
Copy link

CLAassistant commented Oct 21, 2020

CLA assistant check
All committers have signed the CLA.

@brandur-stripe
Copy link
Contributor

Thanks @ethervoid!

I think it's a good idea to clean this up, but you've changed the sentence so that its entirety doesn't quite make sense:

The Count property is only populated if the total_count is a deprecated option that doesn't work anymore.

Going to close this out and push a tweak on a different PR.

brandur-stripe pushed a commit that referenced this pull request Oct 21, 2020
We still have `TotalCount` in a list's meta information. So as to not
make a breaking change, I'm going to leave it in, but add a `Deprecated`
notice on it.

I also reword the comment because the note to "see tests" is no longer
accurate (we don't have a `total_count` sample in the suite anymore).

Replaces #1213.
@brandur-stripe
Copy link
Contributor

Opened #1214.

brandur-stripe pushed a commit that referenced this pull request Oct 21, 2020
We still have `TotalCount` in a list's meta information. So as to not
make a breaking change, I'm going to leave it in, but add a `Deprecated`
notice on it.

I also reword the comment because the note to "see tests" is no longer
accurate (we don't have a `total_count` sample in the suite anymore).

Replaces #1213.
brandur-stripe added a commit that referenced this pull request Oct 21, 2020
We still have `TotalCount` in a list's meta information. So as to not
make a breaking change, I'm going to leave it in, but add a `Deprecated`
notice on it.

I also reword the comment because the note to "see tests" is no longer
accurate (we don't have a `total_count` sample in the suite anymore).

Replaces #1213.

Co-authored-by: Brandur <[email protected]>
@ethervoid ethervoid deleted the patch-1 branch October 22, 2020 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants