Open ggondim opened 1 year ago
I discovered that mergeParams: false
was the cause of this issue.
Developers should continue to use this configuration without experiencing side effects in internal services.
I implemented a minor workaround in src/index.js:L455
to force parameter merging for internal services, and it resolved the issue.
I have had this bug with the "REST API" page for some time.
Symptoms
/api/~node/services?withActions=true
does not return any actions:Debugging
Upon delving deep into the problem, I discovered:
getServiceActions(svc.actions)
due to an undefinedactions
property:console.log
to the filemoleculer/src/internals.js:L61
shows thewithActions
parameter as false, even when it's explicitly passed in the request:console.log
to the filemoleculer/src/registry/service-catalog.js:L117
shows an unrecognized parameter value, as L119 is never reached:Help