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

refactor: implement permission dal when behind an arc #1784

Merged
merged 1 commit into from
May 24, 2024

Conversation

chesedo
Copy link
Contributor

@chesedo chesedo commented May 23, 2024

Description of change

Headroom uses the PermissionDal behind an Arc and needs this

How has this been tested? (if applicable)

The compiler

Copy link
Member

@jonaro00 jonaro00 left a comment

Choose a reason for hiding this comment

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

The crazy things we do to use traits 🥲

@chesedo
Copy link
Contributor Author

chesedo commented May 24, 2024

The crazy things we do to use traits 🥲

Haha, this is not really about using traits, but what using traits will allow you to do easier. It is impossible to test business logic without the use of traits. And you should have tests over the business logic to ensure they are and stay correct

@chesedo chesedo merged commit 5d2311b into main May 24, 2024
29 of 32 checks passed
@chesedo chesedo deleted the refactor/arc_permission_dal branch May 24, 2024 07:40
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