hmlongco / Resolver

Swift Ultralight Dependency Injection / Service Locator framework
MIT License
2.14k stars 188 forks source link

Add ServiceName struct to make named services safer #84

Closed DesmanLead closed 3 years ago

DesmanLead commented 3 years ago

Implement #83 by introducing ServiceName structure.

hmlongco commented 3 years ago

I revised the implementation, but a version of this concept will be in 1.3. See current develop branch and documentation at:

https://github.com/hmlongco/Resolver/blob/develop/Documentation/Names.md

Appreciate the submission.