Skip to content

The intention of this repository is to serve as an example of applying a decorator with dependency injection in Typescript and Nestjs

Notifications You must be signed in to change notification settings

luiz-vinholi/decorators-example

Repository files navigation

Description

In this example I implement a decorator with dependency injection from another service, the decorator is executed AFTER the original method.

This is for when a certain action has to be taken after a use case. This avoids having to mess with the base code.

Using Nestjs and Typescript.


Nest framework TypeScript starter repository.

Installation

$ yarn

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

About

The intention of this repository is to serve as an example of applying a decorator with dependency injection in Typescript and Nestjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published