Comments (4)
Hello @leandrofagundes,
I think it's definitely OK if it's part of the business logic (using some abstraction like IFriendlyService
and implementing it in the infrastructure layer).
from clean-architecture-manga.
Every use case is piece of (isolated) business logic. So it can (and probably should) be combined if needed. However if you call IUseCase
directly there could be difficulties with sharing (or not sharing) connections/transactions and other stuff. So i would implement special aggregator to accomplish this task. I can't answer how exactly without deep dive into concrete problem
from clean-architecture-manga.
Hi @qpippop thanks for participating,
so, thinking about a monolyth, where I have many modules and contexts.
If I need to run a rule from a specific module from another module, can one Use Case call another Use Case implementing it as a service or should all the rule about one use case be done inside itself?
from clean-architecture-manga.
Very nice explanation @qpippop. I totally agree :)
from clean-architecture-manga.
Related Issues (20)
- Add ASP NET Identity
- Add MinVer and generate unique releases HOT 1
- Introduce HashCode struct into ValueObjects design HOT 1
- Withdrawal Concurrency HOT 2
- Failed to compile: Cannot find name 'connect'. TS2304 HOT 2
- Can Infrastructure layer reference direct a class on Domain layer? HOT 2
- Executable specifications with Specflow HOT 2
- (Docker) issues running on Mac HOT 3
- Add Jaeger, Prometheus, Grafana and ELK docker containers
- [Question] How does the layering of this project match the clean architecture official diagram? HOT 1
- Multitenant support? HOT 1
- Environment Setup: docker_nginx doesn't not start - [emerg] 1#1: host not found in upstream HOT 2
- Repositories and Performance
- ./startup.sh failing on WebApi .Net 5 HOT 1
- Controller endpoint expects a ViewModel class as parameter (input)
- account-api won't start in Docker
- IdentityServer4 key rotation and management HOT 2
- Use Auth0 HOT 3
- Change IdentityServer to OpenIddict or implement both
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clean-architecture-manga.