Skip to content
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

[IMPROVE] Refactoring #123

Open
3 tasks
3jins opened this issue Mar 13, 2022 · 0 comments
Open
3 tasks

[IMPROVE] Refactoring #123

3jins opened this issue Mar 13, 2022 · 0 comments

Comments

@3jins
Copy link
Owner

3jins commented Mar 13, 2022

  • Remove unnecessary dependency injections. There's no bean in Koa.js, so use it only if it's really necessary.
  • Use builder-like pattern for creation of the custom error objects. It's more flexible to accept parameters. (No need to pass null.)
  • Change private functions to static.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant