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

chore: remove unneeded getters #1502

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Dec 17, 2024

Description

Remove getters that allowed accessing the database or authorization client from outside the application layer.
Methods like DB() or AuthorizationClient() were previously necessary when we had code in jujuapi manipulating the database or adding/removing access tuples. Now that that has all been moved to the app layer inside jimm we can get rid of these getters.

@kian99 kian99 requested a review from a team as a code owner December 17, 2024 14:12
Copy link
Contributor

@SimoneDutto SimoneDutto left a comment

Choose a reason for hiding this comment

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

lgtm

Remove getters that allowed accessing the database or authorization client from outside the application layer.
@kian99 kian99 force-pushed the remove-unneded-getters branch from d08c2cc to df9ec72 Compare December 18, 2024 06:37
@kian99 kian99 merged commit 71cdcfc into canonical:v3 Dec 18, 2024
4 checks passed
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.

3 participants