-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring Devcontainer implementation
Extract all the DB information (service, volume, feature etc.) into an object. This let's us remove the growing number of case statements in this code. Additionally, it allows the change generator to create a Devcontainer::Database object itself, instead of needing to mix in the Devcontainer concern. That was always a little suspiscious since the change generator does not know everything about the app (if it uses redis, for example) so it could theoretically generate incorrect devcontainer config if we called those methods.
- Loading branch information
1 parent
dcfabdb
commit 297c0a6
Showing
3 changed files
with
181 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.