-
-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Labels
Description
Impress and Node.js versions
current
Platform
No response
Describe the bug
There is this example of using the plugin: https://github.com/metarhia/Example/blob/master/application/api/geo.1.js
In the plugin source code we see that the plugin returns a function that returns a function. https://github.com/metarhia/metasql/blob/master/lib/plugins/crud.js
However, in the plugin loader, only the first function is called.
Line 89 in 9208292
const plugin = exports(unit); |
this does not allow to load the plugin normally and add the necessary endpoints to the API namespace.
And also the endpoints that should be generated by the plugin in this implementation are not given through api/system/introspect
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Additional context
No response