From bf94e0a53f8f869bfb1ccf07edc69abfcf6f44ef Mon Sep 17 00:00:00 2001 From: Ritchie Martori Date: Wed, 1 Oct 2014 14:36:08 -0700 Subject: [PATCH 1/2] Call resolve when defining Models --- lib/remote-connector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/remote-connector.js b/lib/remote-connector.js index ab26c10..118d637 100644 --- a/lib/remote-connector.js +++ b/lib/remote-connector.js @@ -63,6 +63,7 @@ RemoteConnector.prototype.define = function(definition) { jutil.mixin(Model, RelationMixin); remotes.addClass(Model.sharedClass); + this.resolve(Model); }; RemoteConnector.prototype.resolve = function(Model) { From d850eefdc077d55d50243a84f3f91c575015fe4a Mon Sep 17 00:00:00 2001 From: Krishna Raman Date: Wed, 1 Oct 2014 14:43:30 -0700 Subject: [PATCH 2/2] v1.0.1 --- CHANGES.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1fb0e4f..3cd1bd9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +2014-10-01, Version 1.0.1 +========================= + + * Call resolve when defining Models (Ritchie Martori) + + 2014-09-26, Version 1.0.0 ========================= diff --git a/package.json b/package.json index a15c6c8..e3207ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "loopback-connector-remote", - "version": "1.0.0", + "version": "1.0.1", "description": "Remote REST API connector for Loopback", "main": "index.js", "keywords": [