Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
48 views

My question is how do I need to validate fields. I have this class (request dto): public class CompleteGoogleRegistrationRequest { public string IdToken { get; set; } = string.Empty; public ...
Dmytro Zhadan's user avatar
-2 votes
0 answers
46 views

How do you structure complex use cases in your Go projects? We are using a DDD approach. I’ve encountered a scenario where a single core business operation needs to trigger multiple additional actions:...
mrs's user avatar
  • 1
Best practices
0 votes
1 replies
40 views

I’m working on a .NET 9 Clean Architecture solution with the following structure: API – ASP.NET Core Web API (.NET 9) Application – Application services and business logic Domain – Core domain ...
Solo Dev's user avatar
1 vote
2 answers
89 views

I am using clean architecture and have 3 modules: application -> details -> core I'm trying to use Mapstruct to generate mappers in application & mappers in details. I have this mapper in ...
kevin liu kai's user avatar
-3 votes
1 answer
89 views

In Angular/RxJS, when should you use tap({ error }) and when catchError for side effects? How do you best separate the two logically or combine them? For example, does resetting the UI to its previous ...
Fabian Röhrle's user avatar
0 votes
1 answer
32 views

I'm currently developing a mobile app for booking overnight accommodations in React Native. I'm currently developing the "book accommodation" functionality and I'm running into a design ...
Ali Kent's user avatar
0 votes
1 answer
106 views

I cannot really understand what I should do in my UseCases. As I know, repositories are responsible for particular field, type of data and their work is to provide business-logic and connection to ...
korina's user avatar
  • 1
0 votes
1 answer
52 views

The scenario: - infrastructure/ ├── dtos/ │ ├── note_dto │ ├── todo_dto │ └── note_preview_dto <-- includes 3-5 previewTodos from database │ ...
mavini.s's user avatar
  • 248
1 vote
0 answers
175 views

I'm working on a Flutter app that includes barcode scanning and offline-first support. The app uses: Drift for local SQLite storage GetIt for dependency injection Clean Architecture A hybrid approach ...
Filip Golovic's user avatar
0 votes
0 answers
43 views

I have the following project structure: app/ di/ components/ modules JakcApplication.kt MainActivity.kt core/ data/ local/ database/ ...
JamieRhys's user avatar
  • 354
0 votes
0 answers
49 views

I have a modular Android application following Clean Architecture, where each module is responsible for a specific feature. I have a Recipe Module that... ... fetches recipe data from the server ...
Manish Mandhan's user avatar
0 votes
0 answers
53 views

I have a interface called TimeZoneMonitor to monitorize Time Zone or Date changes. I also have a UseCase that queries the database, looking for information based on the current system date. The code ...
A. Cedano's user avatar
  • 1,069
1 vote
1 answer
46 views

I'm trying to catch any error cases in the ViewModel and update the UIState, but it's not working. This is the sealed interface to handle the different responses: sealed interface UniversalisUiState { ...
A. Cedano's user avatar
  • 1,069
0 votes
2 answers
333 views

'm working on an Android application using the MVVM architecture with clean code principles. The app has three layers: UI -> Domain -> Data (Repository -> Data Source) From the data layer, I ...
user1866731's user avatar
0 votes
1 answer
122 views

I am trying to implement CA in an ASP.NET Core Web API. Right now I have the presentation, infrastructure and application all set up, but when I tried Updating the Database with the DbContext Entities ...
yzkael's user avatar
  • 363
1 vote
1 answer
84 views

I have a question regarding usage of Google APIs (in my case NavigationAPI) in clean architecture. So in order to use google navigation it is necessary to have Navigator object from NavigationApi....
gawron103's user avatar
  • 309
0 votes
1 answer
122 views

I'm learning about DDD and am attempting to model a basic interaction between a user and a shopping cart, and am wondering if the following code is directly aligned with DDD principles, or if there is ...
JackG's user avatar
  • 73
1 vote
0 answers
32 views

I am planning to use clean architecture in Flutter to develop my upcoming projects. Currently, I'm using libraries such as flutter_bloc and get_it. The entire project is composed of core, features, ...
张黒猫's user avatar
1 vote
3 answers
300 views

I am learning ASP.NET clean architecture structure. I have an application layer with a query GetAllRestaurants which has to return paginated restaurant objects. I am using repository pattern, with the ...
March3wa's user avatar
1 vote
1 answer
513 views

I am currently developing a Hono API application practicing the basics of Clean Architecture (you can look it up), but tldr it provides ways to isolate layers between each other, making it easier to ...
thisjt's user avatar
  • 334
0 votes
2 answers
221 views

Looking at many blog posts and GitHub projects, I've noticed that when implementing Android project with Clean Architecture, the Presentation Layer often has dependencies on the Data Layer. I'm not ...
CodingBruceLee's user avatar
0 votes
1 answer
1k views

I am working on creating a project using Clean Architecture (backend part). In this application I'm going to deal with users that can registrate/log in using jwt athentication and manipulate with ...
CMlllll's user avatar
  • 21
0 votes
1 answer
51 views

I have a project in which I have a 1->N relationship: a person needs to have at least a pet. Because of this rule, we can't have a person without any pets. There are a PetRepository and a ...
salim.elkh's user avatar
2 votes
1 answer
179 views

I’m developing an application using DDD with a Domain, an Application, and an Infrastructure layer. Inside my Domain, I have my entities with business logic and some domain services. In the ...
M. Ozn's user avatar
  • 1,238
0 votes
1 answer
107 views

I have an endpoint that should create a book, and if it is the clients first created book it should send an email like "Congratulations to your first book". Following Clean Architecture I ...
Odin Hufnagl's user avatar

1
2 3 4 5
26