I'm using SOMA 2.0.4. I've got two classes, each injecting the other. This causes an endless loop.
in my application init function I map the injectables:
this.injector.mapClass('serviceA', ServiceA, true);
this.injector.mapClass('serviceB', ServiceB, true);
Function ServiceA(serviceB) {
/* stuff ...*/
}
Function ServiceB(serviceA) {
/* stuff ...*/
}
Is this a bug, or is it not supported by design?
Thanks