Glossary: Software Design Patterns in Rust
Service locator
A global registry that code asks for its dependencies. It hides what code needs and forces tests to change the global, the opposite of injection.
Glossary: Software Design Patterns in Rust
A global registry that code asks for its dependencies. It hides what code needs and forces tests to change the global, the opposite of injection.