tappeddev / injector

Simple dependency injection for Dart. 💉
Apache License 2.0
77 stars 7 forks source link

Update README.md #11

Closed kannabi closed 6 years ago

kannabi commented 6 years ago

I had ran into a problem that I couldn't got dependecy from injector. After some hours of screaming I found that I have relative an import in the my class. So hashCode of generic type in register*/get methods was different from class to class for some reason. Absolute path solve my problem.

JulianBissekkou commented 6 years ago

Thanks for submitting this merge request! I will take a look at this and try to get it working with different paths 👍.