Skip to content

fix: Allow a poll option's votesCount to be null in JSON#2117

Merged
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:nullable-vote-count
Feb 15, 2026
Merged

fix: Allow a poll option's votesCount to be null in JSON#2117
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:nullable-vote-count

Conversation

@nikclayton
Copy link
Contributor

@nikclayton nikclayton commented Feb 15, 2026

Documented as nullable but it looks as though Mastodon always returns a non-null int. Other software might not, which is why this wasn't caught previously.

Reported by @dhamlinmusic@dragonscave.space.

Documented as nullable but it looks as though Mastodon always returns
a non-null int. Other software might not, which is why this wasn't
caught previously.
@nikclayton nikclayton merged commit ed3c57a into pachli:main Feb 15, 2026
28 checks passed
@nikclayton nikclayton deleted the nullable-vote-count branch February 15, 2026 12:50
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