Skip to content

CustomerGEHMiddleware with @OverrideProvider does not work #3

Description

@jzingler-lp

The CustomerGEHMiddleware is not enabled by default. When I do enable the CustomerGEHMiddleware by adding it to the Server.ts file it results in the following error.

Versions impacts: v5.46.0 to v5.59.4 (did not test versions less than v5.46.0)

 error: {
    status: 500,
    message: "Class constructor CustomerGEHMiddleware cannot be invoked without 'new'",
    stack: 'TypeError: Class constructor CustomerGEHMiddleware cannot be invoked ' +
      "without 'new'\n    at Layer.handle [as handle_request] " +

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions