hexMachina
hexMachina copied to clipboard
Releases, issues, documentation, website of hexMachina, framework written in Haxe
API doc hexmachina.org/docs/api is 404
Trying to set up a boilerplate file using HexInject, I find that trying to declare an injector container just produces a "duplicate access modifier public" error: ``` import hex.di.IInjectorContainer; class...
How can I get `hasClassToValueMapping`, `hasClassNameToValueMapping`, `hasClassToTypeMapping`, `hasClassNameToTypeMapping`? I see only 1 method `hasMapping`. What actually it returns? type to class?
``` ERROR: massive.munit.UnhandledException: $nargs at AppFactoryTest#testOfPoolObjectsAreUnique at Type::createInstance (103) at hex.di.Injector::instantiateUnmapped (153) at hex.di.provider.ClassProvider::getResult (18) at hex.di.mapping.InjectionMapping::getResult (38) at hex.di.Injector::getInstance (80) ``` ``` var f:Injector = new Injector(); f.mapToType(IMockPool_1, MockPool_1);...
``` class MockCommand_6 extends AbstractCommand { @Inject("bool") @Optional private var bool:Bool = true; @Inject("iint") @Optional private var iint:Int = 1; override public function execute():Void { if (!bool || iint !=...
Hi! Is it planned any further development of the framework?
Hi. I am using haxe-4.0.0-rc5 First of all I modified tests.hxml ``` -main MainCommandTest -lib hexunit:1.0.0-alpha.7 -lib hexcommand:1.0.0-alpha.7 -cp test -D debug=true ``` When running command `haxe build-js.hxml` I get...
Specifying following mapping in flow causes injector to crash: ```js mapping({fromType: "String", toValue: null, withName: "myValue"}) ``` Version: 1.0.0-alpha.4
Currently, if extra mappings (not listed as dependencies) are present in the `MappingDefinition` array, the compiler produces an error message like Missing Mappings: [] or similar. It would be good...