GameObjectScope #83
Closed
KurbanismailovZaur
started this conversation in
Ideas
Replies: 1 comment
-
Hello @KurbanismailovZaur, I'm evaluating the performance cost of adding GameObject scopes, as it means for every GameObject being injected we need to traverse the hierarchy upwards to get the nearest container, and if null use the SceneContainer instead, or RootContainer if SceneContainer is also null. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! It would be great if Reflex, in addition to ProjectScope and SceneScope, also had GameObjectScope, which would have their own container with bindings, would automatically inherit from the closest parent container and would be responsible for injecting dependencies into themselves and their child game objects.
This would allow us to better split installers and design the architecture.
Is this planned?
Beta Was this translation helpful? Give feedback.
All reactions