Update the readme docs to include samples of mapping objects with constructor parameters, and a sample of passing a key value in @inject which will be used in place of the objects type. Also include information of the fact that targets of @injectable must expose an IContext property and pass in constructor. Include example of how to pass a context ref in the injector, for example:
Update the readme docs to include samples of mapping objects with constructor parameters, and a sample of passing a key value in
@inject
which will be used in place of the objects type. Also include information of the fact that targets of@injectable
must expose anIContext
property and pass in constructor. Include example of how to pass a context ref in the injector, for example:Note which base classes already expose a
Context
property and pass in the constructor.