Skip to content

Commit

Permalink
Port slonik-dataloaders (#599)
Browse files Browse the repository at this point in the history
* refactor: port slonik-dataloaders

* refactor: port slonik-dataloaders

* refactor: port slonik-dataloaders

* refactor: port slonik-dataloaders

* refactor: port slonik-dataloaders

* refactor test setup

* add offset

* refactor test setup

* feat: utilize separate queries for connection loader

* remove instanceof check

* remove __typename from edge fields

* support validation

* correct linting

* remove unnecessary upper()

* correctly serialize Set

* handle a mix of requested info

* fix lock

* fix lock

* fix lock

* wip

* wip

* wip
  • Loading branch information
gajus committed May 13, 2024
1 parent 10fce40 commit ec32325
Show file tree
Hide file tree
Showing 24 changed files with 3,357 additions and 429 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-lizards-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@slonik/dataloaders": minor
---

Porting @danielrearden's [slonik-dataloaders](https://github.com/danielrearden/slonik-dataloaders) to Slonik monorepo as @slonik/dataloaders.
2 changes: 1 addition & 1 deletion .github/workflows/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- run: npm ci
- run: npm run build --workspaces --if-present
- env:
POSTGRES_DSN: postgres:postgres@localhost:5432
POSTGRES_DSN: 'postgres://postgres:postgres@localhost:5432'
TEST_ONLY: '${{ matrix.test_only }}'
run: npm run test --workspaces --if-present
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- run: npm ci
- run: npm run build --workspaces --if-present
- env:
POSTGRES_DSN: postgres:postgres@localhost:5432
POSTGRES_DSN: 'postgres://postgres:postgres@localhost:5432'
TEST_ONLY: '${{ matrix.test_only }}'
run: npm run test --workspaces --if-present
strategy:
Expand Down

0 comments on commit ec32325

Please sign in to comment.