Pass parameters to constructor #1517
-
|
Hello, I would to figure out how I can pass parameters to constructor during resolving dependency? |
Beta Was this translation helpful? Give feedback.
Answered by
PodaruDragos
Jul 25, 2023
Replies: 1 comment 3 replies
-
|
Hello, this is really not recommended practice, however you can use 2 approaches.
Hope this helps. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Peterculazh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, this is really not recommended practice, however you can use 2 approaches.
injectableservice that you want to use insavewhere you can get an validate data.factoryto get what you want from thecontainerlinkHope this helps.