Skip to content

Conversation

@ycdzj
Copy link
Contributor

@ycdzj ycdzj commented Oct 24, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 24, 2025 08:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality to count the number of members in a namespace. The implementation introduces a new API endpoint and service method to return the member count for a given namespace.

Key changes:

  • Added a countMembers service method that queries the database for namespace member count
  • Added a corresponding GET endpoint at /:namespaceId/members/count to expose this functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/namespaces/namespaces.service.ts Added countMembers method to query member count by namespace ID
src/namespaces/namespaces.controller.ts Added countMembers endpoint to expose member count functionality via API

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ycdzj ycdzj merged commit d8ff726 into main Oct 24, 2025
4 checks passed
@ycdzj ycdzj deleted the refactor/namespaces branch October 24, 2025 11:59
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.

2 participants