#Is there any performance issues when having ALL modules of the application defined as Global?

13 messages · Page 1 of 1 (latest)

hearty cobalt
#

Just asking.

I am working on a codebase where all modules are tagged with @real osprey() - however, I hate this.

Is there any performance issues related with Global modules?

twilit badge
#

Good question

hard isle
#

Slow startup. Your rea; issue is gonna be opening yourself up for circular depemdemcies, and generally badly designated domain lines

twilit badge
#

I guess Injector hasn't be built for nothing ^^

hearty cobalt
#

What about tests?

hard isle
#

What about tests?

hearty cobalt
#

I had some issues testing modules that were related to global modules, for some reason.

hard isle
#

What issues?

hearty cobalt
#

Having many Global modules impact on tests?

hard isle
hearty cobalt
#

Dependency Injection issues, don't know how to explain but

#

Removing the global modules that shouldn't be global helped a lot

#

This is actually the reason behind my forum post lol rindodenervoso