[PR #3924] [MERGED] feat: added new mutation to update username in hopp app #4597

Closed
opened 2026-03-17 02:07:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3924
Author: @balub
Created: 3/21/2024
Status: Merged
Merged: 3/22/2024
Merged by: @balub

Base: release/2024.3.0Head: feat/hopp-app-username-update


📝 Commits (2)

  • 911782c feat: added new mutation to update username in hopp app
  • 3eda24e feat: display name length validation added

📊 Changes

4 files changed (+52 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-backend/src/errors.ts (+6 -0)
📝 packages/hoppscotch-backend/src/user/user.resolver.ts (+23 -0)
📝 packages/hoppscotch-backend/src/user/user.service.spec.ts (+14 -1)
📝 packages/hoppscotch-backend/src/user/user.service.ts (+9 -1)

📄 Description

Closes HSB-381

Description

In this PR we introduce a new mutation to allow users to update their display name in the hopscotch app.

mutation{
  updateUserName(updatedUserName:"New Name"){
    uid
    displayName
    email
  }
}

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3924 **Author:** [@balub](https://github.com/balub) **Created:** 3/21/2024 **Status:** ✅ Merged **Merged:** 3/22/2024 **Merged by:** [@balub](https://github.com/balub) **Base:** `release/2024.3.0` ← **Head:** `feat/hopp-app-username-update` --- ### 📝 Commits (2) - [`911782c`](https://github.com/hoppscotch/hoppscotch/commit/911782c519e6e99cdf94f10f01fb53e42a6e276f) feat: added new mutation to update username in hopp app - [`3eda24e`](https://github.com/hoppscotch/hoppscotch/commit/3eda24ef3a132e48cf90a4a316768cef4bcd9d8e) feat: display name length validation added ### 📊 Changes **4 files changed** (+52 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/errors.ts` (+6 -0) 📝 `packages/hoppscotch-backend/src/user/user.resolver.ts` (+23 -0) 📝 `packages/hoppscotch-backend/src/user/user.service.spec.ts` (+14 -1) 📝 `packages/hoppscotch-backend/src/user/user.service.ts` (+9 -1) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes HSB-381 ### Description <!-- Add a brief description of the pull request --> In this PR we introduce a new mutation to allow users to update their display name in the hopscotch app. ``` mutation{ updateUserName(updatedUserName:"New Name"){ uid displayName email } } ``` <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:07:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4597
No description provided.