Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE: Change Role Name to Role ID #2612

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

arvindh123
Copy link
Contributor

What type of PR is this?

This is a feature because it adds the following functionality:
Change from Role Name to Role ID

What does this do?

Which issue(s) does this PR fix/relate to?

  • Related Issue #
  • Resolves #

Have you included tests for your changes?

Did you document any new/modified feature?

Notes

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 17.64706% with 462 lines in your changes missing coverage. Please review.

Project coverage is 42.25%. Comparing base (58ba597) to head (c2cbd2d).

Files with missing lines Patch % Lines
pkg/sdk/mocks/sdk.go 0.00% 234 Missing ⚠️
channels/mocks/service.go 0.00% 55 Missing ⚠️
clients/mocks/service.go 0.00% 55 Missing ⚠️
groups/mocks/service.go 0.00% 55 Missing ⚠️
channels/mocks/repository.go 0.00% 21 Missing ⚠️
clients/mocks/repository.go 0.00% 21 Missing ⚠️
groups/mocks/repository.go 0.00% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2612      +/-   ##
==========================================
- Coverage   45.43%   42.25%   -3.19%     
==========================================
  Files         404      202     -202     
  Lines       50450    30093   -20357     
==========================================
- Hits        22921    12715   -10206     
+ Misses      25170    16411    -8759     
+ Partials     2359      967    -1392     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -81,6 +81,9 @@ var (
// ErrMissingRoleName indicates that role name are empty.
ErrMissingRoleName = errors.New("empty role name")

// ErrMissingRoleID indicates that role name are empty.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// ErrMissingRoleID indicates that role name are empty.
// ErrMissingRoleID indicates that role id is empty.

Copy link
Contributor

@felixgateru felixgateru left a comment

Choose a reason for hiding this comment

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

We will need to update the api docs for this change

@arvindh123
Copy link
Contributor Author

This PR is depend on #2585

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