'Hexagonal Architecture, do I violate its principles by reusing code between usecases?
Hello and thank you for taking the time to read my question :)
I have several usecases that need to download and upload files from and to s3. For that, I've created a port and an S3 adapter that I share between those usecases. Somehow I feel that this is a terrible idea but I don't want to duplicate code.
Does that mean that I've baldy designed my usecases?
What is the correct approach here?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
