-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iterate Static Arrays #1158
Comments
you'd need to split defaultValue, dependencies is not an array in AST model, it's just a variable of array type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this idea to simplify my code by generating code to constructor inject dependencies specified within my project.
The essential part of my code:
What I would like to generate:
Usage
Where I'm stuck
How do I read the values from the
dependencies
array?I was trying something like this
but without any result.
Happy to make that contribution myself if others find it valuable too.
I'm new to this project so if someone could point me in the right direction, that would be great.
Appreciate any ideas and support 🙌🏻
The text was updated successfully, but these errors were encountered: