Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix!: omit name, avatar_url and last_seen_at from responses when empty#18005

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 1 commit intomainfrombq/fix-user-response
May 23, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

User name, avatar URL, and last seen at, are not required fields so they can be empty. Instead of returning the 0 values from Go, we want to make it more agnostic, and omit them when they are empty. This make the docs and usage way clearer for consumers.

@BrunoQuaresmaBrunoQuaresma requested a review fromEmyrkMay 23, 2025 12:24
@BrunoQuaresmaBrunoQuaresma self-assigned thisMay 23, 2025
@BrunoQuaresmaBrunoQuaresma changed the titlefix!: omit name and avatar_url from responses when emptyfix!: omit name, avatar_url and last_seen_at from responses when emptyMay 23, 2025
@github-actionsgithub-actionsbot added the release/breakingThis label is applied to PRs to detect breaking changes as part of the release process labelMay 23, 2025
Copy link
Member

@EmyrkEmyrk left a comment

Choose a reason for hiding this comment

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

TIL a user can have no name, but that does make sense. Only the username is required.

BrunoQuaresma reacted with heart emoji
@BrunoQuaresmaBrunoQuaresma merged commit94c129c intomainMay 23, 2025
41 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/fix-user-response branchMay 23, 2025 14:35
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 23, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
release/breakingThis label is applied to PRs to detect breaking changes as part of the release process
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@BrunoQuaresma@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp