Category "repository"

DDD - Repository interfaces in domain or application layer?

There are several posts on stackoverflow about this question, but I'm still not able to understand it fully. Different architectures like the layered architectu

Listing packages in MWAA with a broken scheduler

So, I'm currently working with an Airflow installation via MWAA. I'm having this issue with a broken dependency, specifically: ERROR: pip's dependency resolve

How to get data from a repository from within a cubit?

i'm using flutter bloc. i want to emit the data from a repo to a state. how do i get the data from the repo to show in the cubit? This is my cubit: void getPro

Pushing a project with passwords in it

I created a django project and want to share it with my team members, however in the settings files it contains some passwords for the database etc. Of course w

How to get List of Objects with value in array in Spring-Boot CrudRepository

I have an Object defined that has ChildAccountList of Strings as one of the attributes. Is there a findBy method that I can use such that it will return the li

How do I use the same parameter multiple times in my Query using JPA?

How do I use a parameter multiple times in the same query? Here is my Query: @Query(value = """ SELECT * FROM person WHERE first_name = ? or last_name =

What does this AWS CloudFormation AWS::Amplify::App Exception mean "Invalid request provided: Repository provider not supported."?

I cannot find a single article/example of this scenario but here is what I am attempting to do. I want to create AWS Amplify infrastructure using a AWS CloudFor

How Implement CRQS in DDD

If someone tries to implement the CQRS pattern without repository in DDD, in which layer should it be done? Infrastructure or Application Layer?

How to deploy to Heroku if my client and servers are in separate folders?

I have a repo with 2 folders - 1 for the server, 1 for the client, and each folder has its own package.json file. I am trying to deploy the server to Heroku, bu

TF401019: The Git repository with name or identifier public does not exist or you do not have permissions for the operation you are attempting

I have two ADO repositories named private2 and public2. private2 references public2 as a submodule: I also added a yaml file (vsts-cicd.yml) for build as follo

create git alias for `git log --all --decorate --graph --oneline`

I use the command git log --all --decorate --graph --oneline very often and I want to create an git alias for --all --decorate --graph --oneline. I tried with

How to view code in a Github repository as of a specific release?

I would like to see what the code in a whole repository looks like of a specific release. As an example, I'd like to view the code for Apache Airflow as of vers

How to test my update method with Mockito

Here is my test Class: @RunWith(SpringRunner.class) @SpringBootTest public class UpdateRestaurantTest { @MockBean private RestaurantRepository restaura

how to download single folder OR file in gitlab repository

i have one repository. In this repository multiple folders are available. i have required only one folder in this repository. i am already try to following co

How to get access to the files stored on another repository in code

I want to get the access (read) files with text which located on another repository. Is it possible to do at all? We faced the problem of preserving the histor

Create repository button disabled on GitHub

I am using macOS version 11.2.2 BigSur. I don't seem to be able to create a GitHub repository on the web (I am using safari). The button is greyed out or you sa

CMake - how to build Boost after downloading it with FetchContent?

My goal is to download the Boost repository if it isn't found and then build it the default way, i.e. using boostrap and b2 tools. I know, I can download it l

Renovate: exclude or regex repositories?

Goal: renovate repositories, regex include/exclude Using renovate repositories, is it possible to regex to include/exclude? For example, this explicitly two rep

Android - DataSource vs Repository

You hear a lot of people talking about repositories and datasources when talking about design patterns like MVVM or MVI. I've been creating repositories for thi

How to pass model as a Parameter in Repository method at controller?

So my problem is like that, When I am trying to pass the model in repository method on controller I getting error like this Object reference not set to an insta