deden/postgraphile-plugin-connection-multi-tenant

old inflection system

Opened this issue · 0 comments

Hi,
this plugin doesnt work with actual postgrahile-package (v4.12.12)

TypeError: Cannot read properties of undefined (reading 'filter')…
Error: Something (probably a plugin) called the old inflection system (inflector: 'column'). This system has been deprecated since 4.0.0-beta.6 (4th May 2018) and is not used internally so using it may cause inconsistencies, instead please use the plugin-capable inflection system https://www.graphile.org/postgraphile/inflection/
at Object.column (/usr/local/lib/node_modules/postgraphile/node_modules/graphile-build-pg/node8plus/inflections.js:24:20)
at /usr/local/lib/node_modules/postgraphile-plugin-connection-multi-tenant/src/ConnectionMultiTenantPlugin.js:32:42
at Array.reduce (<anonymous>)
at /usr/local/lib/node_modules/postgraphile-plugin-connection-multi-tenant/src/ConnectionMultiTenantPlugin.js:31:12
at SchemaBuilder.applyHooks (/usr/local/lib/node_modules/postgraphile/node_modules/graphile-build/node8plus/SchemaBuilder.js:264:20)
at fieldWithHooks (/usr/local/lib/node_modules/postgraphile/node_modules/graphile-build/node8plus/makeNewBuild.js:489:33)
at makeField (/usr/local/lib/node_modules/postgraphile/node_modules/graphile-build-pg/node8plus/plugins/PgAllRows.js:86:27)
at /usr/local/lib/node_modules/postgraphile/node_modules/graphile-build-pg/node8plus/plugins/PgAllRows.js:180:9
at Array.reduce (<anonymous>)
at /usr/local/lib/node_modules/postgraphile/node_modules/graphile-build-pg/node8plus/plugins/PgAllRows.js:46:60