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

x/mandarinets/mvc-framework/core/decorators/custom-decorators/decoratorsFactory.ts

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
import * as mandarinets from "https://deno.land/x/mandarinets@v2.3.2/mvc-framework/core/decorators/custom-decorators/decoratorsFactory.ts";

Functions

This function creates a custom parameter decorator (used in a HTTP Handler). With this function, you can establish your own behaviors towards an injection which will be made when processing the handler This function can be generic in order to specify what type of data your parameter will receive, for this it takes two generic arguments (DecoratorData, DecoratorReturn)