-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update persisted-model.js #1910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@superkhau Please review and land if it looks OK. |
lib/persisted-model.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add two spaces in front
|
Just missing tabs in front of the start and end of comment block. Otherwise, LGTM. |
lib/persisted-model.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data provided in the second argument?
|
Fixed, ty. |
|
OK, fixed the notional |
lib/persisted-model.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is
- Correct doc for findOrCreate. - Fix indentation - Remove quotes in example `where` - Fix typo - Fix spacing in notional where clause
05f3476 to
1af0361
Compare
|
Thanks @superkhau !!! |
* Remove sl-blip from dependency (Candy) * Fix race condition in replication tests (Miroslav Bajtoš) * test: remove errant console.log from test (Ryan Graham) * Promisify Model Change (Jue Hou) * Fix race condition in error handler test (Miroslav Bajtoš) * Travis: drop iojs, add v4.x and v5.x (Miroslav Bajtoš) * Correct JSDoc findOrCreate() callback in PersistedModel (Miroslav Bajtoš) * Hide verificationToken (Miroslav Bajtoš) * test: use ephemeral port for e2e server (Ryan Graham) * test: fail on error instead of crash (Ryan Graham) * ensure app is booted before integration tests (Ryan Graham) * Checkpoint speedup (Amir Jafarian) * Pull in API doc fix from PR into master #1910 (crandmck)
Correct doc for findOrCreate per loopbackio/loopback-datasource-juggler#766