lua-di

Created on 2022-12-21T00:40:38-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

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.