-
Notifications
You must be signed in to change notification settings - Fork 404
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
Why aren't the services static? #24
Comments
There is no particular reason. I think the way you speak is good. Thank you for your pull request. |
i think having non-static classes is much better out of the box for dependency injection of them and of other services/instances inside them without playing much around with IoC Containers |
Feel free to close this issue if you believe that there is no need to change anything. |
Thank you very much for the comment. |
@ljlm0402
|
Thanks for the good suggestions and detailed explanations. |
Is there any reason that classes like userService aren't static?
Wouldn't it be easier to call the method without having to initiate an object?
The text was updated successfully, but these errors were encountered: