Skip to content

mongooseFactory errors do not cause an exception #16

@mb-dev

Description

@mb-dev

Steps to reproduce:
Create a mongoose factory for a model that has validation. Using the factory create an instance with values that fail the validation.

Expected outcome:
Failure is returned on the callback

Actual:
Callback returns okay with undefined value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions