Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
57 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
-3 votes
1 answer
86 views

I'm learning Clean Architecture and I can't figure this out. Imagine this scenario: I have a ServiceA that calls its repository: public class ServiceA : IServiceA { private readonly IRepositoryA ...
Demian's user avatar
  • 1
Best practices
0 votes
1 replies
65 views

In your experience, which software architecture can be considered the most solid and future-proof for modern systems? Many developers highlight Hexagonal Architecture for its modularity and decoupling,...
AHMED HAFDI's user avatar
Best practices
0 votes
1 replies
44 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
Best practices
0 votes
0 replies
40 views

I’m gradually migrating our screen from UIKit to SwiftUI, and the first step is using a SwiftUI SearchBar as the header inside a UIKit table view. • The rest of the screen is still UIKit, and we’re ...
Tech UK's user avatar
  • 31
1 vote
2 answers
106 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
Best practices
0 votes
2 replies
58 views

Problem Statement I'm implementing a complex business workflow using Hexagonal Architecture (Ports and Adapters), but I'm struggling with how to properly orchestrate. Business Workflow Requirements ...
JavaNullPointer'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
2 votes
1 answer
111 views

I'm trying to follow Google's clean architecture guidelines. I have a navigation subgraph with multiple pages corresponding to stages of filling a form. Each page has it's own viewModel. On the last ...
Andrey Golubev's user avatar
0 votes
1 answer
40 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
0 answers
34 views

For further work, I need the egui-winit library. My entire project is divided into the following libraries: engine-window (requires egui-winit::winit for operation) engine-ui (requires egui-winit::...
Сергей Ненашев's user avatar
0 votes
1 answer
115 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
0 answers
66 views

I am studying Clean Arch with Java. My project structure is like: project | |--domain | |--entity | | |--Student.java | |--repository | |--StudentRepo.java (...
user24618785's user avatar
0 votes
1 answer
53 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
1 answer
100 views

Suppose I have a Parent class in Java: public class Parent { protected int value; public Parent() { value = performHeavyCalculations(); } private int performHeavyCalculations(...
i1ravenov's user avatar
1 vote
0 answers
180 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
1 answer
265 views

I am trying to combine spring modulith (1.3.4) and clean architecture to verify the proper dependencies between gradle modules. The project setup is defined by the following structure: Domain Logical ...
Jonathan's user avatar
  • 297
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
90 views

I have a NestJS app that connects to RabbitMQ and communicates with a Java Spring app. The app needs to both publish to and consume from multiple queues, including cases where it publishes to and ...
Asif Hajiyev's user avatar
0 votes
0 answers
53 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
1 vote
2 answers
68 views

I am working on ASP.NET Core WebAPI projects with clean architecture, and I came around the situation where I need retrieve value from appsettings.json I am able to do so by injecting the ...
Anuj Karki's user avatar
0 votes
0 answers
57 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
0 votes
1 answer
82 views

I searched Stack Overflow and didn't find an answer to a similar question. In a query handler, which is in the Application layer, I want to retrieve only a subset of the properties from the Customer ...
MrChudz's user avatar
  • 1,255
1 vote
1 answer
51 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
-2 votes
1 answer
1k views

I'm working on a .NET 8 project following Clean Architecture, where I want to correctly implement the Repository Pattern while adhering to domain-driven design principles. My Current Setup: Domain ...
Edward Blake's user avatar
0 votes
2 answers
350 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
1 vote
1 answer
49 views

My domain entity often looks like this: class { rename(string $name): void { if ($this->name === $name) return; $this->name = $name; $this->...
Alexey Shimansky's user avatar
0 votes
1 answer
123 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
0 votes
0 answers
26 views

Best Approach to Handle Varying Parameters in Feature-Specific Implementations of an Abstract Repository in Dart I have an abstract Repository<T> class in Dart that defines several methods, as ...
NemesisXVII's user avatar
1 vote
1 answer
85 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
117 views

I'm learning about DDD and have come up with a strange situation which I'm not entirely sure how to handle. It is my understanding that an aggregate, or an entity with an aggregate, can have a ...
JackG's user avatar
  • 73
0 votes
1 answer
125 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
0 votes
0 answers
59 views

What I Want to Achieve: I want the search results to be updated every time a character is inputted (or changed) in the search box. I aim to implement this feature as close to clean architecture as ...
nakamura johnielo's user avatar
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
0 votes
0 answers
27 views

I am new to Netcore and Clean Architecture. I have do many search but many thing change so I decide to ask here. I also post the source code here for more investigation. https://github.com/...
Nguyen Tuan Anh's user avatar
1 vote
3 answers
317 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
0 votes
0 answers
17 views

I am building an application for managing printers. I have transaction aggregate and customer aggregate,1 transaction have 1 customer ,I want to fetch list of transaction with customer name for the UI....
user27754742's user avatar
1 vote
1 answer
519 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
1 vote
1 answer
265 views

so i am in a hastle here , in the the presentation layer I want to pass data through the bloc events to the bloc state and finally to a page and I found that I am repeating the same params everywhere ,...
Lemon Grab's user avatar
0 votes
2 answers
228 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
65 views

We are learning and implementing Domain-Driven Design (DDD), and we have a sample entity below: PaymentInvoice. My question is, is it acceptable to pass a list of PaymentInvoice entities to the ...
Eduwow's user avatar
  • 177
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
-1 votes
1 answer
132 views

I'm developing a Flutter application using the BLoC pattern. I have a single UI page that interacts with a BLoC that handles 5 events and 10 states. My requirement is as follows: When I fire an event ...
Jay Parmar's user avatar
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
1 vote
1 answer
854 views

I'm working on a large Flutter project where each feature is organized into its own package. In the main directory, I want to run flutter pub get to install dependencies for all the packages at once. ...
Abdullah Esnawi's user avatar
2 votes
1 answer
186 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
0 answers
57 views

I am using Compose, Flows, clean arch, MVVM and repository pattern. I don't want to crate any generic classes. I really just want to see a simple GET and POST handled with Loading, Success or Error ...
muoki_D's user avatar
  • 409
0 votes
1 answer
113 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
0 votes
1 answer
81 views

In my flutter application, I'll be having multiple pages. Consider 2 pages for now. Both these pages have some filters that are common and can be modified from either page. Both these pages also have ...
Aurora Borealis's user avatar
0 votes
2 answers
251 views

The following CreateImages endpoint is in my C# .NET Web API. Testing with Postman and Swagger UI, when I upload files and send the request, files parameter below is always null. I don't have this ...
brett_0267's user avatar

1
2 3 4 5
25