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

Split the existing business service layer into two business service layers for clarity #1424

Open
JamesChenX opened this issue Mar 28, 2024 · 0 comments

Comments

@JamesChenX
Copy link
Member

One layer is for the common business logic without authorization, and the other layer is based on the previous layer to implement the authorization logic.

But the problem isn't that simple, because most business logic is complex, and interweaves with authorization logic and business logic. If we force to split it into two layers for concern of separation, it will take some system resources (e.g. each layer queries MongoDB just for their used resources), so we need to do some research first.

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