You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a Controller object that I expect to be taken from the container to the initializer of the SomeEntity class and so that it is built automatically from the arguments that are next to it (arg1, arg2) in the initializer of the SomeEntity class. I would also like to pass these arguments to the next object (SomeCls) inside the Controller - can I do such a chain?
What should I substitute for the '???' signs? Tried dynamic container but didn't work
Why don’t I see the difference between the @Inject decorator attached to the initializer of the SomeEntity class and without this decorator? All classes are in different modules
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
I'm trying to create a Controller object that I expect to be taken from the container to the initializer of the SomeEntity class and so that it is built automatically from the arguments that are next to it (arg1, arg2) in the initializer of the SomeEntity class. I would also like to pass these arguments to the next object (SomeCls) inside the Controller - can I do such a chain?
What should I substitute for the '???' signs? Tried dynamic container but didn't work
Why don’t I see the difference between the @Inject decorator attached to the initializer of the SomeEntity class and without this decorator? All classes are in different modules
Beta Was this translation helpful? Give feedback.
All reactions