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

x/momentum/mvc-handlebars/deps.ts>MvTransformer

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
interface MvTransformer
Re-export
import { type MvTransformer } from "https://deno.land/x/momentum@v0.8.2/mvc-handlebars/deps.ts";

Interface that describes a transformer

Methods

transform(
value: unknown,
context: ContextAccessor,
parameterMetadata: ParameterMetadata,
actionMetadata: ActionMetadata,
controllerMetadata: ControllerMetadata,
): unknown | Promise<unknown>