-
Notifications
You must be signed in to change notification settings - Fork 54
Implement User ID from Auth Handling #343
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
WalkthroughThe changes refactor authentication handling across several endpoint modules by introducing explicit type aliases ( Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Endpoint
participant AuthDependency
participant Service
Client->>Endpoint: Send request (with auth)
Endpoint->>AuthDependency: Resolve auth (returns AuthTuple)
Endpoint->>Endpoint: Unpack (user_id, _, _) = auth
Endpoint->>Service: Call business logic with user_id
Service-->>Endpoint: Return result
Endpoint-->>Client: Return response
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (9)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (8)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
/cc @omertuc |
eranco74
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
umago
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
tisnik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@keitwb please resolve conflict, then we are ok to merge. Thank you in advance |
This was kind of halfway done before but this should get it closer.
388b3b5 to
8a6466d
Compare
|
@tisnik ok, should be good now. |
This was kind of halfway done before but this should get it closer.
Type of change
Checklist before requesting a review
Summary by CodeRabbit
Refactor
Tests