So I had a previous version (0.48) and this method did not exist back then. Moving on, I took the latest code and tried to use it inside the mongodb node
const meta = this.getWorkflow();
This results in a build error of the form
nodes/MongoDb/MongoDb.node.ts:176:21 - error TS2554: Expected 1 arguments, but got 0.
176 const meta = this.getWorkflow();
~~~~~~~~~~~~~
../workflow/dist/src/Interfaces.d.ts:118:17
118 getWorkflow(workflow: Workflow): IWorkflowMetadata;
~~~~~~~~~~~~~~~~~~
An argument for 'workflow' was not provided.
Found 1 error.
It appears that the signature of the method is not correct. Its expecting a Workflow object to be passed which is not available in nodes.
Yes your are right the interfaces were defined wrong. Still wonder why TypeScript did not error as the implementation was done without the “workflow” parameter.
About PR. There is nothing to add you too. Every Github user can create a PR.