forgejo/services/convert
forgejo-backport-action 1d1e0ced3e [v11.0/forgejo] fix(api): encode empty requested reviewers as an empty array (#7365)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7355

- Always initialize `RequestedReviewers` and `RequestedReviewersTeams`, this avoids the JSON encoder from encoding it to the zero value `null` and instead return a empty array.
- Resolves #4108
- Integration test added.

Co-authored-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7365
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2025-03-28 13:22:41 +00:00
..
activity.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
attachment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
convert.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
git_commit.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
git_commit_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_comment.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
issue_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
main_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
mirror.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
notification.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
package.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
pull.go [v11.0/forgejo] fix(api): encode empty requested reviewers as an empty array (#7365) 2025-03-28 13:22:41 +00:00
pull_review.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
pull_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
quota.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
release.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
release_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
repository.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
status.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
user.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
user_test.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
utils.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00
utils_test.go [BRANDING] add Forgejo Git Service and migration UI 2024-02-05 16:05:02 +01:00
wiki.go [v11.0/forgejo] chore: branding import path (#7354) 2025-03-27 20:13:05 +00:00