From 2df33368a442a1a544f928d202be624c233163c0 Mon Sep 17 00:00:00 2001 From: MarioSimou Date: Fri, 10 May 2024 12:13:36 +0300 Subject: [PATCH 1/2] chore: add withPgClient import --- .../website/grafast/step-library/dataplan-pg/withPgClient.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md b/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md index e6f2892cfb..65dc34ca35 100644 --- a/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md +++ b/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md @@ -27,6 +27,9 @@ for it to return, and then release the client again, ultimately resolving to the return result of your callback. ```ts +// import withPgClient step +import { withPgClient } from "postgraphile/@dataplan/pg"; + // Grab executor from any resource const { executor } = usersResource; From f5d2ddd85c62611f2841da884d37c07e959280ca Mon Sep 17 00:00:00 2001 From: Benjie Date: Fri, 10 May 2024 13:52:07 +0100 Subject: [PATCH 2/2] Update grafast/website/grafast/step-library/dataplan-pg/withPgClient.md --- .../website/grafast/step-library/dataplan-pg/withPgClient.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md b/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md index 65dc34ca35..1d298e1fff 100644 --- a/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md +++ b/grafast/website/grafast/step-library/dataplan-pg/withPgClient.md @@ -28,7 +28,7 @@ the return result of your callback. ```ts // import withPgClient step -import { withPgClient } from "postgraphile/@dataplan/pg"; +import { withPgClient } from "@dataplan/pg"; // Grab executor from any resource const { executor } = usersResource;