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

Remove FAB db manager as an external_db_managers default #48070

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

jedcunningham
Copy link
Member

Now that the FAB auth manager isn't the default auth manager, it doesn't makes sense to have the FAB db manager as a default in external_db_managers.

Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

I am wondering if the config is the right option. Is it something that auth managers should set? I do not see a scenario where a user use FAB auth manager but not FABDBManager and vice versa. Should not we have a method in the auth manager interface like get_db_manager that FAB auth manager overrides?

@jedcunningham
Copy link
Member Author

We could refactor it to expose it from auth managers, that does make sense. But this should be done to simply the auth manager use case, not that auth managers are the only use case for db managers :)

Would you oppose doing that in a follow up?

@jedcunningham
Copy link
Member Author

@ephraimbuddy looks like we have some core/fab migration mixing going on. Is that something you could take a stab at?

@vincbeck
Copy link
Contributor

We could refactor it to expose it from auth managers, that does make sense. But this should be done to simply the auth manager use case, not that auth managers are the only use case for db managers :)

Would you oppose doing that in a follow up?

Yep I can do it as a follow-up

@ephraimbuddy
Copy link
Contributor

@ephraimbuddy looks like we have some core/fab migration mixing going on. Is that something you could take a stab at?

Sure. Looking

@vincbeck
Copy link
Contributor

We could refactor it to expose it from auth managers, that does make sense. But this should be done to simply the auth manager use case, not that auth managers are the only use case for db managers :)

Would you oppose doing that in a follow up?

#48196

@ephraimbuddy ephraimbuddy force-pushed the remove_fab_db_manager_default branch 2 times, most recently from 7d8ac3a to f9068ae Compare March 25, 2025 12:12
@ephraimbuddy ephraimbuddy force-pushed the remove_fab_db_manager_default branch 2 times, most recently from bf25391 to 65b52d0 Compare March 25, 2025 21:06
@ephraimbuddy ephraimbuddy force-pushed the remove_fab_db_manager_default branch 2 times, most recently from 96c43c7 to 0c95b2a Compare March 26, 2025 15:16
@ephraimbuddy ephraimbuddy requested a review from vincbeck March 27, 2025 08:08
@ephraimbuddy ephraimbuddy force-pushed the remove_fab_db_manager_default branch from 496a290 to fccfc7e Compare March 28, 2025 21:02
@ephraimbuddy ephraimbuddy requested a review from vincbeck March 28, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants