File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- import { makePgConfig } from "@dataplan/pg/adaptors/pg" ;
21// TODO: import GraphilePro from "@graphile/pro"; // Requires license key
32import { PgSimplifyInflectionPreset } from "@graphile/simplify-inflection" ;
43import { Request } from "express" ;
5- import type { } from "grafserv/express/v4" ;
6- import { NodePlugin } from "graphile-build" ;
7- import { pgSmartTagsFromFile } from "graphile-utils" ;
84import { resolve } from "path" ;
95import { Pool } from "pg" ;
6+ import { makePgService } from "postgraphile/adaptors/pg" ;
7+ import type { } from "postgraphile/grafserv/express/v4" ;
8+ import { NodePlugin } from "postgraphile/graphile-build" ;
109import postgraphilePresetAmber from "postgraphile/presets/amber" ;
1110import { makeV4Preset } from "postgraphile/presets/v4" ;
11+ import { pgSmartTagsFromFile } from "postgraphile/utils" ;
1212
1313import OrdersPlugin from "./plugins/Orders" ;
1414import PassportLoginPlugin from "./plugins/PassportLoginPlugin" ;
@@ -73,8 +73,8 @@ export function getPreset({
7373 rootPgPool,
7474} : IPostGraphileOptionsOptions ) {
7575 const preset : GraphileConfig . Preset = {
76- pgConfigs : [
77- makePgConfig ( {
76+ pgServices : [
77+ makePgService ( {
7878 // This is so that PostGraphile installs the watch fixtures
7979 superuserConnectionString : process . env . DATABASE_URL ,
8080
You can’t perform that action at this time.
0 commit comments