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/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) { 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": [