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

[FEATURE] - Refactor providers Package to Separate Email Senders into Individual Packages for Improved Modularity and Efficiency #4

Closed
JRocabruna opened this issue Jun 4, 2024 · 1 comment · Fixed by #16 or #7
Assignees
Labels
enhancement New feature or request refactoring Code refactoring to improve structure without changing functionality.

Comments

@JRocabruna
Copy link
Member

Is your feature request related to a problem? Please describe.
The current providers package imports all dependencies for all email senders, even when only one specific email sender is needed. This results in unnecessary dependencies being loaded, which can increase compile time and binary size.

Describe the solution you'd like
Refactor the providers package to separate each email sender implementation into its own package. This will allow importing only the dependencies required for the specific email sender being used. Additionally, keep helper functions within the providers folder to centralize all related functionalities.

Describe alternatives you've considered
An alternative solution could be to manually manage dependencies within the providers package, but this approach would be more complex and error-prone compared to modularizing the package structure.

Additional context
This change will enhance the modularity and efficiency of the codebase by ensuring that only the necessary dependencies are imported, leading to potentially faster compile times and smaller binary sizes.

Copy link

github-actions bot commented Jul 5, 2024

This issue is stale because it has been open for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring Code refactoring to improve structure without changing functionality.
Projects
None yet
2 participants