Open s3i7h opened 3 years ago
Hi!
Thank you for a pull request. Unfortunately, I'm a little busy right now. I'll try to take a look at the weekend.
Hi!
I did not forget about you pull request, but I'm still a little busy right now.
No worries! Take your time😊
Thank you for bringing this awesome project to life!
I was working on a project and came up to this kind of code where
a_setting
andb_setting
control the parameters ofsome_injectable_function
:...but I thought this will get more complex and uneasy to read if there's more conditions and parameters. I think this problem comes from not having ways to explicitly set a parameter to be injected.
I implemented a MARKER object that the injector will detect and replaces with the injected value. With this PR, you would be able to write it like
or
Comments well appreciated! Please tell me if there's any flaw in my code.