@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (18 loc) • 641 B
Markdown
lang: en
title: 'Using decorators'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/Using-decorators.html
{% include content/tbd.html %}
> This will describe how to use existing decorators to build apps per
> [#552](https://github.com/strongloop/loopback-next/issues/552)
Potential topics:
- What is a decorator? Allows you annotate your classes with metadata.
- simple example `@authenticate`
- How to use decorators (what are the features)
- Define routes (@api)
- Define access controls
- Compose and customize decorators
- Note: you have to use Babel or TypeScript for decorator support