Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/mod.ts>FormDataOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface FormDataOptions
Re-export
import { type FormDataOptions } from "https://deno.land/x/deno_nest@v3.15.1/mod.ts";

Properties

optional
maxFileSize: number
optional
ignoreValidate: boolean

If true, will not throw error when validate failed, but still can get the fields which is transformed.

If you want to skip validate, you may use interface or type to define the fields, or use the class DTO like this:

async sigin(@Form() fields: typeof SigninDto.prototype) { }