Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/index.ts>UseContainerOptions

Decorator-based property validation for classes.
Latest
interface UseContainerOptions
import { type UseContainerOptions } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";

Container options.

Properties

optional
fallback: boolean

If set to true, then default container will be used in the case if given container haven't returned anything.

optional
fallbackOnErrors: boolean

If set to true, then default container will be used in the case if given container thrown an exception.