Page Contents

Home > @loopback/express > MiddlewareBindingOptions > upstreamGroups

MiddlewareBindingOptions.upstreamGroups property

An array of group names for upstream middleware in the cascading order.

For example, the invokeMethod depends on parseParams for request processing. The upstreamGroups for invokeMethod should be ['parseParams']. The order of groups in the array does not matter.

Signature:

upstreamGroups?: string | string[];