-
Notifications
You must be signed in to change notification settings - Fork 13k
chore: add setAdminStatus deprecation logger
#36944
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
Conversation
|
|
Looks like this PR is ready to merge! 🎉 |
WalkthroughA deprecation warning was added to the server method setAdminStatus by importing and invoking a deprecation logger at method start. No public API or control flow changes beyond the added log. The method still performs its original behavior. Changes
Sequence Diagram(s)sequenceDiagram
participant C as Caller
participant M as setAdminStatus (server)
participant D as deprecationLogger
C->>M: setAdminStatus(args)
Note over M: Method invoked
M->>D: method('setAdminStatus', '8.0.0', 'Use /v1/roles.addUserToRole or /v1/roles.removeUserFromRole')
D-->>M: logged
M-->>C: proceed with existing logic and respond
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (2)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #36944 +/- ##
===========================================
- Coverage 66.54% 66.52% -0.02%
===========================================
Files 3344 3344
Lines 114629 114629
Branches 21094 21091 -3
===========================================
- Hits 76281 76262 -19
- Misses 35658 35673 +15
- Partials 2690 2694 +4
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
ARCH-1801
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit