How to solve clean code with sonar lint #649
Unanswered
dhamdani666
asked this question in
Q&A
Replies: 1 comment
-
Add as many paramaters as you want, I would not say this is a good idea for other methods. But in the case of a data constructor, you're defining properties. There's no limit on how many properties you should be able to define. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I use laravel-data for my project to make it easier for me to transfer object data, but there is a problem when I save some parameters, here is my code
This function has 8 parameters, which is greater than the 7 authorized. , what is the solution, do I have to create a new dto then do child , or is there a good solution?
Beta Was this translation helpful? Give feedback.
All reactions