-
Notifications
You must be signed in to change notification settings - Fork 71
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
migrate credit system for env usage #230
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement, Tests, Configuration changes
Description
Migrated credit system configuration to environment variables.
Updated
CreditSystem
class to use strongly typed properties and constructor parameters.Refactored
CreditSystemFactory
to simplify credit system initialization.Enhanced unit tests to reflect the new credit system configuration.
Changes walkthrough 📝
3 files
Updated service bindings for credit system configuration.
Added environment variables for credit system configuration.
Added default credit system configuration to `.env.dist`.
5 files
Refactored
CreditSystem
to use environment variables and stricttyping.
Simplified
CreditSystemFactory
to use environment-based configuration.Updated interface methods to use strict typing.
Updated `DisabledCreditSystem` to use strict typing.
Removed logger dependency from `PdoDb` constructor.
2 files
Updated tests for `CreditSystemFactory` to reflect new configuration.
Enhanced tests for
CreditSystem
with new parameters and exceptionhandling.