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

Added AdapterAwareInterface to AbstractDbMapper #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added AdapterAwareInterface to AbstractDbMapper #67

wants to merge 1 commit into from

Conversation

amazium
Copy link

@amazium amazium commented Oct 21, 2013

Added AdapterAwareInterface to AbstractDbMapper to allow initializers to inject the db adapter

@localheinz
Copy link
Contributor

@amazium

I heard initializers are evil, what do you think?

@adamlundrigan
Copy link
Contributor

I think this change is fine, though I too avoid initializers and instead create a factory for the mapper and inject the db adapter there. /cc @Danielss89

@Danielss89 Danielss89 added this to the 0.1.3 milestone Jan 15, 2015
@Danielss89
Copy link
Member

initializer or not, an interface is good ;)

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.

4 participants