Skip to content

[Docs] Schema.prototype.pre/post() Parameter 1 does not show Array as a valid type #11989

@hasezoey

Description

@hasezoey

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

I just noticed while going through the documentation that that Schema.prototype.pre() & Schema.prototype.post do not list Arrays as valid types in The «String|RegExp» method name or regular expression to match method name

also the text The «String|RegExp» method name or regular expression to match method name does not seem to match with the common style of the documentation where its paramName <type> Description or just <type>

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is due to a mistake or omission in the mongoosejs.com documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions