Installation#
With entity-routes
(and therefore TypeORM
), you will find yourself using a lot of
Typescript Decorators.
A Decorator is a special kind of declaration that can be attached to a class declaration, method, accessor, property, or parameter.
By "decorating" a class declaration, method, accessor, property, or parameter
, you can associate additional
information (metadata
) and use it to make things like @EntityRoute
/@Groups
.
Prerequisites#
or
Since this library depends on it, we need to enable them
Import reflect-metadata in your app entrypoint.