In clean architecture, I implement restful api as an infrastructure, the question is: what should the application layer return 1 - entity: this is w ...
In clean architecture, I implement restful api as an infrastructure, the question is: what should the application layer return 1 - entity: this is w ...
I want to implement basket functionality and store the basket using Redis in my WebApi. In whole project I am using CQRS and MediatR in operations on ...
Let's say I have this value object: And this DTO: I want to create a Parser, so I can use it in the application service in this way: I'm cons ...
I got ViewModel that receive one item and it need to update list in the recycler. I made it work but i am wondering if there is a cleaner solution. Im ...
How to handle "Google Sign in" using android CLEAN architecture? As we know that we should avoid android code in presentation layer. i have tried to ...
I need to initiate Room in its repository. But to do that I need context. If I pass context through the viewmodel i got this message This field leaks ...
Let's say I have the value object LicensePlate. It is part of a Car, which is an entity in my domain. However, the logic for building the plate doesn' ...
I'm developing an application to train Clean Architecture concepts. I have a user creation use case, where some information is passed in a multipart/f ...
there is a entity called Category and there is a model that extends the Category called CategoryModel now the Category entity has a variable called pr ...
Maybe someone else has the same issues as I had, so here is how I implemented it, finally. I am showing this for ObjectBox, but some of the methods wo ...
I suppose the title speaks for itself but in which layer of Clean Architecture do you typically put factories? If the factory interface does not go i ...
I am working on an Android project and at the moment we are doing multiple network calls in a single repository, for example in the PostsRepository cl ...
im new to clean architecture and I’d like to create a single api endpoint /configuration that saves values to different tables in my database. This is ...
I am implementing a Clean Architecture. I have four projects: Domain, Application, Infrastructure, and Presentation. I have repository implementation ...
I study domain in android programming and I have a question about that. Now, I have a getReportFromRemoteUsecase and getReportFromLocalUsecase. When t ...
Good night! I am playing with EF7 to learn about it. I've created the next classes: At insert, the data is created correctly at database (SQL S ...
I am reading the chapter 11 page number 90 of clean architecture. I agree with author that we should use interfaces instead of depending upon the vola ...
I am reading the clean architecture chapter - 8 Page number 72, The Open-Closed Principle. The chapter has a thought experiment of a system that displ ...
Imagine, that we have Android application, which is splitted by groups: Presentation - which concerns fragments, viewmodels and view-specific logi ...
I created a WorkManager that retrieves the current Bitcoin price from an API every 60 minutes and displays it to the user as a notification. However, ...