diff --git a/package.json b/package.json index 83e8ede..fcef107 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,9 @@ "url": "https://github.com/EmperorRXF/postgraphile-plugin-atomic-mutations/issues" }, "homepage": "https://github.com/EmperorRXF/postgraphile-plugin-atomic-mutations", - "dependencies": {}, + "dependencies": { + "graphile-utils": "^4.10.0" + }, "devDependencies": { "@types/jest": "^25.2.1", "@types/node": "^13.13.5", diff --git a/src/atomic-mutations-plugin.ts b/src/atomic-mutations-plugin.ts index edbd1b9..b46518c 100644 --- a/src/atomic-mutations-plugin.ts +++ b/src/atomic-mutations-plugin.ts @@ -1,6 +1,6 @@ import { parse } from 'graphql'; import { IncomingMessage } from 'http'; -import { makeWrapResolversPlugin } from 'postgraphile'; +import { makeWrapResolversPlugin } from 'graphile-utils'; interface PostGraphileContext { mutationAtomicityContext: MutationAtomicityContext; diff --git a/yarn.lock b/yarn.lock index a49647d..3e0328d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2026,6 +2026,15 @@ graphile-build@4.7.0: pluralize "^7.0.0" semver "^6.0.0" +graphile-utils@^4.10.0: + version "4.10.0" + resolved "https://registry.yarnpkg.com/graphile-utils/-/graphile-utils-4.10.0.tgz#70780b0456d80d51e91f4b39a5187356e2256e1d" + integrity sha512-SYgguryvu6bhsNn5hUO2VQe3dYl6Ov1vlEWqajiX3XfG0zZTz3KhUZHJ7Usjb1VoiPD0vLZ3EcGybsuVq0acTA== + dependencies: + debug "^4.1.1" + graphql ">=0.9 <0.14 || ^14.0.2 || ^15.4.0" + tslib "^2.0.1" + graphile-utils@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/graphile-utils/-/graphile-utils-4.7.0.tgz#f1b4b77a84741bbcbb69c1f3d2c009bd9c7336f6" @@ -2053,6 +2062,11 @@ graphql-parse-resolve-info@4.7.0: dependencies: iterall "^1.2.2" +"graphql@>=0.9 <0.14 || ^14.0.2 || ^15.4.0": + version "15.4.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.4.0.tgz#e459dea1150da5a106486ba7276518b5295a4347" + integrity sha512-EB3zgGchcabbsU9cFe1j+yxdzKQKAbGUWRb13DsrsMN1yyfmmIq+2+L5MqVWcDCE4V89R5AyUOi7sMOGxdsYtA== + graphql@^15.0.0: version "15.0.0" resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.0.0.tgz#042a5eb5e2506a2e2111ce41eb446a8e570b8be9" @@ -4448,6 +4462,11 @@ tslib@^1.5.0, tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9" integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg== +tslib@^2.0.1: + version "2.0.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c" + integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== + tsutils@^3.17.1: version "3.17.1" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"