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

AuthorizationGuard 周りのリファクタリング #625

Merged
merged 3 commits into from
Dec 14, 2024

Conversation

rito528
Copy link
Member

@rito528 rito528 commented Dec 14, 2024

No description provided.

@rito528 rito528 requested a review from loliGothicK as a code owner December 14, 2024 06:24
@rito528 rito528 requested a review from Copilot December 14, 2024 06:28

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

server/domain/src/types/authorization_guard.rs:125

  • The new method try_into_read should be covered by tests to ensure it behaves as expected.
pub fn try_into_read(self, actor: &User) -> Result<T, DomainError> {
@rito528 rito528 merged commit 17bed6c into main Dec 14, 2024
4 checks passed
@rito528 rito528 deleted the refactor/authorization-guard branch December 14, 2024 06:32
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.

1 participant