UNPKG

@loopback/docs

Version:
25 lines (20 loc) 656 B
--- lang: en title: 'Using decorators' keywords: LoopBack 4.0, LoopBack 4 tags: sidebar: lb4_sidebar permalink: /doc/en/lb4/Using-decorators.html summary: --- {% 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