Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CompileOptions

Hierarchy

  • CompileOptions

Index

Properties

Properties

legacy

0.0.46 provide
legacy: boolean

If true and the provided schema is (or contains parts) using an older version of joi, will return a compiled schema that is compatible with the older version. If false, the schema is always compiled using the current version and if older schema components are found, an error is thrown.