Skip to content

insertMany middleware #11531

@jayantasamaddar

Description

@jayantasamaddar

Dear Mongoose Team,

The post and pre insertMany middleware have the arguments order reversed.

Pre takes in (next, docs),
Post takes in (docs, next)

Please follow standardized API design or it gets confusing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions