lua-di
Created on 2022-12-21T00:40:38-06:00
Dependency injection library for Lua.
Works by associating values or factory functions to parameter names. Parameter names may also be aliased so fooBar and foo_bar are treated the same.
Debug API is used to extract the parameter names of constructor functions. Those names are then looked up in the config to find suitable values.