Skip to content

[2.0] Make getModel throw when not found - #331

Merged
bajtos merged 1 commit into
2.0from
make-get-model-throw-when-not-found
Jun 16, 2014
Merged

[2.0] Make getModel throw when not found#331
bajtos merged 1 commit into
2.0from
make-get-model-throw-when-not-found

Conversation

@bajtos

@bajtos bajtos commented Jun 16, 2014

Copy link
Copy Markdown
Member

Rename loopback.getModel to loopback.findModel.

Implement loopback.getModel as a wrapper around findModel that
throws an error when the model as not found.

/to @ritch please review. We have discussed this change on Friday.

Rename `loopback.getModel` to `loopback.findModel`.

Implement `loopback.getModel` as a wrapper around `findModel` that
throws an error when the model as not found.
@bajtos bajtos added this to the 2.0.0 milestone Jun 16, 2014
@bajtos bajtos changed the title Make get model throw when not found [2.0] Make getModel throw when not found Jun 16, 2014
@ritch

ritch commented Jun 16, 2014

Copy link
Copy Markdown
Member

LGTM

bajtos added a commit that referenced this pull request Jun 16, 2014
…-found

[2.0] Make getModel throw when not found
@bajtos
bajtos merged commit 75406f0 into 2.0 Jun 16, 2014
@bajtos
bajtos deleted the make-get-model-throw-when-not-found branch June 16, 2014 17:50
@bajtos bajtos added the doc label Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants