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

Move action and auth registry to registry package #1258

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

iFrostizz
Copy link
Contributor

Closes #1219

This PR solves the issue in a different way than it has been presented. Moving the initialization function to the consts package isn't working very well because it imports from action, and action imports consts which creates a cyclic dependency.
ActionRegistry and AuthRegistry are not really constants, so it's not terribly wrong for them to be moved out of the consts package. Since they are now initialized in the same package they are defined, it removes the need of this weird anonymous import.

@iFrostizz iFrostizz self-assigned this Aug 8, 2024
@iFrostizz
Copy link
Contributor Author

Waiting for #1257 to get in to update

aaronbuchwald
aaronbuchwald previously approved these changes Aug 8, 2024
@aaronbuchwald aaronbuchwald disabled auto-merge August 9, 2024 15:53
@aaronbuchwald aaronbuchwald merged commit 3fcfd4f into main Aug 9, 2024
15 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.

Refactor codec registry + remove consts package
2 participants