Skip to content

Require enhancer to be a callback #3457

@EskiMojo14

Description

@EskiMojo14

When the enhancers field is an array, it completely overrides enhancers and thus middlewares are not included (as of #3347).

This is too much of a footgun - instead, we should require enhancers to be a callback. This would make it more obvious that getDefaultEnhancers should be used.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions