Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

    Hierarchy

    • DataValidationOptions

    Index

    Properties

    strict: boolean

    Throw an error if validation fails.

    fallback: boolean

    Attempt to replace invalid values with valid defaults?

    partial: boolean

    Allow partial source data, ignoring absent fields?

    dropInvalidEmbedded: boolean

    If true, invalid embedded documents will emit a warning and be placed in the invalidDocuments collection rather than causing the parent to be considered invalid.