Commit Graph

2327 Commits

Author SHA1 Message Date
Raymond Feng 0bcbe6ceae Remove undefined for the data to be saved 2014-05-09 09:59:34 -07:00
Raymond Feng 4a907b0a18 Remove the undefined property to avoid mongodb upsert overwrite 2014-05-08 15:46:39 -07:00
Raymond Feng 8b128b566d Make sure ObjectID type is not parsed as object 2014-05-08 15:46:14 -07:00
crandmck cf75f55f73 Fix JSDoc - remove newlines from function alias declarations, etc. 2014-05-07 11:24:49 -07:00
Ritchie Martori cbf99d57a9 Local Storage 2014-05-07 07:47:12 -07:00
Rand McKinney a765ea31ab Correct JSDoc for discoverModelDefinitions 2014-05-06 14:18:10 -07:00
Ritchie Martori 4049f7338e Do not .toObject if already Object 2014-05-05 07:23:12 -07:00
Ritchie Martori 9b9833df0f 1.3.12 2014-05-01 14:25:49 -07:00
Ritchie Martori 977c5d1572 Merge pull request #106 from strongloop/fix/id-urls-remoting
Fix remoting for IDs in URLs
2014-05-01 14:25:31 -07:00
Ritchie Martori 45eadabbeb Fix remoting for IDs in URLs 2014-05-01 14:19:31 -07:00
Ritchie Martori 503da59218 1.3.11 2014-04-11 12:37:24 -07:00
Ritchie Martori 4518a07bf2 Merge pull request #100 from strongloop/fix/hidden-nested
Add hidden property support
2014-04-11 12:36:30 -07:00
Ritchie Martori aea5836569 Add hidden property support 2014-04-11 11:39:57 -07:00
Miroslav Bajtoš b717eafba2 Merge pull request #99 from strongloop/feature/scope-like-rest-methods-for-belongsTo
scope-like remotable metadata for belongsTo
2014-04-08 10:33:56 -07:00
Miroslav Bajtoš 440dfaf3a7 scope-like remotable metadata for belongsTo
Modify the methods created by `belongsTo` relation to mimick the methods
created by scopes (e.g. via `hasMany` relation).

This allows client code generators like loopback-angular to use the same
code for all relation types.
2014-04-08 10:30:57 +02:00
Raymond Feng 3806682eb4 Merge tag 'v1.3.10'
1.3.10
2014-04-04 09:03:19 -07:00
Raymond Feng 2742b25c34 Merge branch 'release/1.3.10' into production 2014-04-04 09:03:12 -07:00
Raymond Feng e3eca4cf19 Bump version 2014-04-04 09:02:12 -07:00
Raymond Feng a1f8919e13 Merge pull request #98 from strongloop/feature/fix-issue-97
Fix the method for belongsTo with correct receiver
2014-04-04 08:27:55 -07:00
Miroslav Bajtoš e45c7a1310 Merge tag 'v1.3.9'
v1.3.9
2014-04-04 16:39:06 +02:00
Miroslav Bajtoš 1ada61fe06 Merge branch 'release/1.3.9' into production 2014-04-04 16:38:34 +02:00
Miroslav Bajtoš de3aaf1a11 v1.3.9 2014-04-04 16:37:52 +02:00
Miroslav Bajtoš f368c96612 Merge pull request #96 from strongloop/feature/remember-scope-target-class
Remember scope target class, improved description of scope methods
2014-04-04 07:35:14 -07:00
Raymond Feng 68d2696248 Fix the method for belongsTo with correct receiver 2014-04-03 20:41:53 -07:00
Miroslav Bajtoš d08c6714d8 scope: improve description of shared methods
The description is used by client SDK code-generators like
loopback-angularjs.
2014-04-03 09:19:06 +02:00
Miroslav Bajtoš 4da4c65faa Re-enable skipped test.
test/relations: hasMany should fetch all scoped instances

The test is passing with the current implementation.
2014-04-02 19:35:14 +02:00
Miroslav Bajtoš abf57ff497 scope: add _targetClass to scope property
Store the class of the results returned by a scope find method.
This class is different from the "targetClass" when the relations
is using a third "through" model (e.g. hasAndBelongsToMany).
2014-04-02 19:32:37 +02:00
Raymond Feng e018efbf43 Merge tag 'v1.3.8'
1.3.8
2014-03-27 14:50:20 -07:00
Raymond Feng f69b558fcc Merge branch 'release/1.3.8' into production 2014-03-27 14:44:00 -07:00
Raymond Feng 2e9e59c79b Bump version 2014-03-27 14:43:08 -07:00
Raymond Feng c79d0b0c33 Merge pull request #92 from strongloop/feature/fix-issue-91
Fix the base sql connector to correct escape id values
2014-03-27 14:34:46 -07:00
Raymond Feng b42f7d2498 Remove the disconnect to avoid race condition 2014-03-27 13:56:24 -07:00
Raymond Feng 24d75fdf8e Merge pull request #89 from strongloop/feature/fix-lb-218
Set the relation property correctly
2014-03-24 15:12:41 -07:00
Raymond Feng c28546b629 Fix the base sql connector to correct escape id values
This is based on https://github.com/strongloop/loopback-datasource-juggler/pull/91
https://github.com/strongloop/loopback-datasource-juggler/issues/90
2014-03-24 14:56:52 -07:00
Raymond Feng 0e7acec591 Set the relation property correctly
See https://github.com/strongloop/loopback/issues/218
2014-03-23 21:07:04 -07:00
Raymond Feng 82c687737a Merge tag 'v1.3.7'
1.3.7
2014-03-19 17:14:59 -07:00
Raymond Feng 074330e7d8 Merge branch 'release/1.3.7' into production 2014-03-19 17:14:52 -07:00
Raymond Feng c3f5487914 Bump version 2014-03-19 17:14:09 -07:00
Raymond Feng b848bfb5f8 Merge pull request #86 from strongloop/feature/enhance-relations
Enhancements to connector resolution, model relations and inclusions
2014-03-19 17:12:11 -07:00
Raymond Feng cc5975486d Simplify the inclusion processing 2014-03-17 08:40:40 -07:00
Raymond Feng cadacc44bb Create scoped methods for belongsTo and improve docs 2014-03-17 08:40:40 -07:00
Raymond Feng 1dc0c34252 Fix the connector resolver to make sure known connectors are used 2014-03-17 08:32:37 -07:00
Raymond Feng bef90bd529 Refactor the serialize/deserialize into two functions 2014-03-17 08:32:37 -07:00
crandmck aa11aad298 Fix some small errors 2014-03-13 16:26:29 -07:00
Rand McKinney 4c8682b1c2 Updates for JSDoc changes for API doc. 2014-03-12 16:33:07 -07:00
crandmck 9c2098cd35 Updates to JSDoc comments for API doc 2014-03-12 16:28:46 -07:00
Raymond Feng ac8887835f Merge tag 'v1.3.6'
1.3.6
2014-03-04 10:41:46 -08:00
Raymond Feng b58601b3cd Merge branch 'release/1.3.6' into production 2014-03-04 10:41:40 -08:00
Raymond Feng 7c9f48d122 Bump version 2014-03-04 10:40:58 -08:00
Raymond Feng 464d23891b Merge pull request #82 from strongloop/feature/ldl-scopes
Allows scopes to be defined in LDL
2014-03-04 09:50:27 -08:00