From 70615696cd2626d0dd3ffa8c4e0ff0d5d655da80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 25 Jun 2014 13:44:07 +0200 Subject: [PATCH] Mark `app.boot` as deprecated. --- lib/application.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/application.js b/lib/application.js index a94a5faa..3b6d9dc6 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.