diff --git a/lib/application.js b/lib/application.js index a94a5faa6..3b6d9dc6b 100644 --- a/lib/application.js +++ b/lib/application.js @@ -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.