Skip to content

middleware type enhancement#1327

Open
salisbury-espinosa wants to merge 2 commits intomoleculerjs:masterfrom
salisbury-espinosa:patch-1
Open

middleware type enhancement#1327
salisbury-espinosa wants to merge 2 commits intomoleculerjs:masterfrom
salisbury-espinosa:patch-1

Conversation

@salisbury-espinosa
Copy link

@salisbury-espinosa salisbury-espinosa commented May 30, 2025

fix: there was no name field in the middleware specification

https://moleculer.services/docs/0.15/middlewares

and doc issue:

https://moleculer.services/docs/0.15/middlewares#localMethod-next-method

localMethod(next, method) { => need replace by => localMethod(**handler**, method) {

( https://github.com/moleculerjs/moleculer/blob/master/src/service.js#L429 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant