Mark `app.boot` as deprecated.

This commit is contained in:
Miroslav Bajtoš 2014-06-25 13:44:07 +02:00
parent bca9722196
commit 70615696cd
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ app.model = function (Model, config) {
/**
* Get the models exported by the app. Returns only models defined using `app.model()`
*
* **Deprecated. Use the package
* [loopback-boot](https://github.com/strongloop/loopback-boot) instead.**
* There are two ways to access models:
*
* 1. Call `app.models()` to get a list of all models.