Merge pull request #348 from strongloop/feature/deprecate-app-boot
Mark `app.boot` as deprecated.
This commit is contained in:
commit
1dc3fba786
|
@ -167,6 +167,9 @@ app.model = function (Model, config) {
|
||||||
/**
|
/**
|
||||||
* Get the models exported by the app. Returns only models defined using `app.model()`
|
* 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:
|
* There are two ways to access models:
|
||||||
*
|
*
|
||||||
* 1. Call `app.models()` to get a list of all models.
|
* 1. Call `app.models()` to get a list of all models.
|
||||||
|
|
Loading…
Reference in New Issue