Skip to content

Commit c41e802

Browse files
committed
Use omit from build; drop graphile-build-pg dependency
1 parent f791b87 commit c41e802

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
"bugs": {
1616
"url": "https://github.com/graphile-contrib/postgraphile-plugin-connection-filter/issues"
1717
},
18-
"dependencies": {
19-
"graphile-build-pg": "^4.0.0-rc.4"
20-
},
2118
"peerDependencies": {
2219
"postgraphile": "^4.0.0-rc.4"
2320
},
@@ -29,7 +26,7 @@
2926
"graphql": ">=0.9 <0.14",
3027
"jest": "^20.0.4",
3128
"pg": ">=6.1.0 <8",
32-
"postgraphile-core": "^4.0.0-rc.4",
29+
"postgraphile-core": "^4.0.0-rc.9",
3330
"prettier": "^1.4.4"
3431
},
3532
"jest": {

src/PgConnectionArgFilterPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const { omit } = require("graphile-build-pg");
2-
31
module.exports = function PgConnectionArgFilterPlugin(
42
builder,
53
{
@@ -23,6 +21,7 @@ module.exports = function PgConnectionArgFilterPlugin(
2321
GraphQLEnumType,
2422
},
2523
pgColumnFilter,
24+
pgOmit: omit,
2625
inflection,
2726
connectionFilterAllowedFieldTypes,
2827
connectionFilterOperators,
@@ -282,6 +281,7 @@ module.exports = function PgConnectionArgFilterPlugin(
282281
pgGetGqlTypeByTypeId,
283282
pgIntrospectionResultsByKind: introspectionResultsByKind,
284283
pgColumnFilter,
284+
pgOmit: omit,
285285
inflection,
286286
connectionFilterOperators,
287287
} = build;

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,23 +1172,23 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2:
11721172
version "4.1.11"
11731173
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
11741174

1175-
graphile-build-pg@4.0.0-rc.9, graphile-build-pg@^4.0.0-rc.4:
1176-
version "4.0.0-rc.9"
1177-
resolved "https://registry.yarnpkg.com/graphile-build-pg/-/graphile-build-pg-4.0.0-rc.9.tgz#241d3776bbb12b48cb7cbc599b80f51cf4133a00"
1175+
graphile-build-pg@4.0.0-rc.10:
1176+
version "4.0.0-rc.10"
1177+
resolved "https://registry.yarnpkg.com/graphile-build-pg/-/graphile-build-pg-4.0.0-rc.10.tgz#111f1ecdab3b6d0076c265605360e00699373a98"
11781178
dependencies:
11791179
chalk "^2.1.0"
11801180
debug ">=2 <3"
1181-
graphile-build "4.0.0-rc.9"
1181+
graphile-build "4.0.0-rc.10"
11821182
graphql-iso-date "^3.2.0"
11831183
jsonwebtoken "^8.1.1"
11841184
lodash ">=4 <5"
11851185
lru-cache ">=4 <5"
11861186
pg-sql2 "2.2.1"
11871187
postgres-interval "1.1.1"
11881188

1189-
graphile-build@4.0.0-rc.9:
1190-
version "4.0.0-rc.9"
1191-
resolved "https://registry.yarnpkg.com/graphile-build/-/graphile-build-4.0.0-rc.9.tgz#8fb16994c65f21b7900c76dd6a67c037f5bb00ee"
1189+
graphile-build@4.0.0-rc.10:
1190+
version "4.0.0-rc.10"
1191+
resolved "https://registry.yarnpkg.com/graphile-build/-/graphile-build-4.0.0-rc.10.tgz#9ad8d6fe8f834eca260350a333929069a01f74ef"
11921192
dependencies:
11931193
"@types/graphql" "^0.13.4"
11941194
debug ">=2 <3"
@@ -2492,13 +2492,13 @@ posix-character-classes@^0.1.0:
24922492
version "0.1.1"
24932493
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
24942494

2495-
postgraphile-core@^4.0.0-rc.4:
2496-
version "4.0.0-rc.9"
2497-
resolved "https://registry.yarnpkg.com/postgraphile-core/-/postgraphile-core-4.0.0-rc.9.tgz#7dc9bf1d0da3a4f81bd68b3977d27ed174a5c72f"
2495+
postgraphile-core@^4.0.0-rc.9:
2496+
version "4.0.0-rc.10"
2497+
resolved "https://registry.yarnpkg.com/postgraphile-core/-/postgraphile-core-4.0.0-rc.10.tgz#5ef941ae3e09224bd4c626e0f91ec06a9896d6e1"
24982498
dependencies:
24992499
"@types/graphql" "^0.13.4"
2500-
graphile-build "4.0.0-rc.9"
2501-
graphile-build-pg "4.0.0-rc.9"
2500+
graphile-build "4.0.0-rc.10"
2501+
graphile-build-pg "4.0.0-rc.10"
25022502

25032503
postgres-array@~1.0.0:
25042504
version "1.0.2"

0 commit comments

Comments
 (0)