diff --git a/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js b/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js index c770d5199..8c095bdee 100644 --- a/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgMutationCreatePlugin.js @@ -106,7 +106,8 @@ export default (function PgMutationCreatePlugin( } )}`, isPgCreateInputType: true, - pgInflection: table, + pgInflection: table, // TODO:v5: remove - TYPO! + pgIntrospection: table, } ); const PayloadType = newWithHooks( diff --git a/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js b/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js index 3f61e0e66..4f89dc394 100644 --- a/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js +++ b/packages/graphile-build-pg/src/plugins/PgMutationUpdateDeletePlugin.js @@ -326,7 +326,8 @@ export default (async function PgMutationUpdateDeletePlugin( isPgUpdateNodeInputType: mode === "update", isPgDeleteInputType: mode === "delete", isPgDeleteNodeInputType: mode === "delete", - pgInflection: table, + pgInflection: table, // TODO:v5: remove - TYPO! + pgIntrospection: table, isMutationInput: true, } ); @@ -482,7 +483,8 @@ export default (async function PgMutationUpdateDeletePlugin( isPgUpdateByKeysInputType: mode === "update", isPgDeleteInputType: mode === "delete", isPgDeleteByKeysInputType: mode === "delete", - pgInflection: table, + pgInflection: table, // TODO:v5: remove - TYPO! + pgIntrospection: table, pgKeys: keys, isMutationInput: true, }