Skip to content

users: keep list comments count in stats - #364

Merged
mfederowicz merged 1 commit into
mainfrom
users-stats-list-comments
Nov 19, 2026
Merged

mfederowicz merged 1 commit into
mainfrom
users-stats-list-comments

Conversation

@mfederowicz

Copy link
Copy Markdown
Owner

users -a stats dropped list_comments, the number of comments on the user's lists. Trakt already sends it. The contract adds it in trakt/trakt-api#1096, which is still open.

Added

  • Library: str.UserStats has ListComments (list_comments).

Fixed

  • users -a stats keeps list_comments in the export.

Tests: the encode/decode round-trip test in str/ fails without the fix.

Live check by the maintainer on 2026-11-19: GET users/me/stats returned list_comments: 0, and GET users/sean/stats returned list_comments: 2. Both are kept in the export.

AI: Claude Code compared the contract with the type and wrote the code, test and changelog entries.

@mfederowicz
mfederowicz merged commit 7339db8 into main Nov 19, 2026
6 checks passed
@mfederowicz
mfederowicz deleted the users-stats-list-comments branch November 19, 2026 13: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.

1 participant