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

[API] Remove logic from handlers #133

Open
PTKay opened this issue Jul 1, 2021 · 1 comment
Open

[API] Remove logic from handlers #133

PTKay opened this issue Jul 1, 2021 · 1 comment
Assignees
Labels
api Issue related to the server application enhancement New feature or request

Comments

@PTKay
Copy link
Member

PTKay commented Jul 1, 2021

The logic of the requests should be implemented outside of the handler methods, in order to facilitate testing.

@PTKay PTKay added enhancement New feature or request api Issue related to the server application labels Jul 1, 2021
@TiagoMMDavid
Copy link
Member

An idea to do this is by creating a services package that implements the logic of the system. This package should contain files that provide methods responsible for processing the system logic by communicating with the database and remote packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the server application enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants