Set Database env credentials without returning a new instance #24
No reviewers
Labels
No labels
bug
dependency
documentation
feature
invalid
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/scaffold!24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/24/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a follow-up PR from #22. Instead of returning a new instance after setting the environment variables we simply do nothing. Most of the extending classes will not take advantage of the new instance anyways, and will just call
new Database()as before. Of course, as mentioned in #22 this setup is not ideal, and another solution should be implemented to instance this class.