Kyle Johnson

Results 4 comments of Kyle Johnson

You need to add `.whenTargetIsDefault()` to your un-named bind when using named bindings: ``` > c.bind("1").toConstantValue("1").whenTargetNamed("numeric") > c.bind("1").toConstantValue("one").whenTargetIsDefault() > c.get("1") 'one' > c.getNamed("1", "numeric") '1' > c.getAllNamed("1", "numeric") [ '1'...

A better approach is to create a child container in the factory. This way, the original container isn't modified: ```typescript export function SceneFactory(context: interfaces.Context) { return (key: string, scene: any)...

For the folks using AWS Lambda (@mrabdibdi-anvil @rgripper @joe-gre @jpgrace), perhaps you need to tell `zip` to preserve symlinks? This works for me in a pnpm v8.7.4 workspace. My lambda...