Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mandarinets/mvc-framework/core/internal/components/routing/routingResolver.ts>middlewareResolver

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
variable middlewareResolver
import { middlewareResolver } from "https://deno.land/x/mandarinets@v2.3.2/mvc-framework/core/internal/components/routing/routingResolver.ts";

Resolves the middleware request made to an endpoint.

type

(
preRequest: boolean,
middlewareComponent: Mandarine.Types.MiddlewareComponent,
context: Mandarine.Types.RequestContext,
) => Promise<boolean | undefined>