Describe the bug
When running postgraphile in cli mode, with --append-plugins postgraphile-remove-foreign-key-fields-plugin, I get the error
Error: No plugin found matching spec 'postgraphile-remove-foreign-key-fields-plugin' - expected function, found 'object'.
If I purposefully misspell the package name, the error is different, so I believe it is finding the plugin.
To Reproduce
Steps to reproduce the behavior:
- run
npm install postgraphile-remove-foreign-key-fields-plugin`
- run
npx postgraphile --append-plugins postgraphile-remove-foreign-key-fields-plugin
Expected behavior
Postgraphile should run normally
Additional context
- postgraphile version
4.12.9
- plugin version
1.2.0
Describe the bug
When running postgraphile in cli mode, with -
-append-plugins postgraphile-remove-foreign-key-fields-plugin, I get the errorError: No plugin found matching spec 'postgraphile-remove-foreign-key-fields-plugin' - expected function, found 'object'.If I purposefully misspell the package name, the error is different, so I believe it is finding the plugin.
To Reproduce
Steps to reproduce the behavior:
npm installpostgraphile-remove-foreign-key-fields-plugin`npx postgraphile --append-plugins postgraphile-remove-foreign-key-fields-pluginExpected behavior
Postgraphile should run normally
Additional context
4.12.91.2.0