jw3 / akka-injects

Dependency Injection for Akka using Guice
Apache License 2.0
3 stars 4 forks source link

DSL Inject conflicts with Annotation Inject #1

Closed jw3 closed 8 years ago

jw3 commented 9 years ago

Turns out Injectwas a poor choice for the dsl.

Warning:(3, 22) imported `Inject' is permanently hidden by definition of method Inject in package inject
import javax.inject.{Inject, Named}
                     ^

http://martinfowler.com/bliki/TwoHardThings.html

jw3 commented 9 years ago

Considering inject, but then what happens to InjectActor? Does it become injectActor, I dont particularly care for the two words requiring camel casing...

Perhaps InjectActor becomes actor or actorOf or ....

jw3 commented 9 years ago

Or since avoiding Annotations is a goal of this library, do I just say too bad and ignore it.

... No probably not, it needs fixed.

jw3 commented 8 years ago

com.rxthings.di._ com.rxthings.di.inject com.rxthings.di.injectActor