Commit Graph

2253 Commits

Author SHA1 Message Date
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
Raymond Feng d14c58775d Use debug module for logging 2014-03-04 09:42:55 -08:00
Raymond Feng ab8076d44a Merge pull request #80 from strongloop/feature/remoting-belongsTo
Make the belongsTo relation remotable
2014-03-04 08:57:57 -08:00
Raymond Feng a40475ed75 Merge pull request #81 from strongloop/feature/fix-issue-21
Check the Array type
2014-03-04 08:56:54 -08:00
Raymond Feng ed7e2e2ada Fix the parameter name 2014-03-04 08:56:16 -08:00
Raymond Feng 24c4381221 Allows scopes to be defined in LDL 2014-03-03 17:16:37 -08:00
Raymond Feng 510f5ef6ac Check the Array type
See https://github.com/strongloop/loopback-connector-mongodb/issues/21
2014-03-03 15:52:49 -08:00
Raymond Feng 14745b1305 Make the belongsTo relation remotable 2014-03-03 15:03:05 -08:00
Raymond Feng 97c5cfd644 Fix the example for scope 2014-02-28 22:29:22 -08:00
Raymond Feng 00972c2f41 Merge tag 'v1.3.5'
1.3.5
2014-02-27 11:14:37 -08:00
Raymond Feng 5c03bc8aef Merge branch 'release/1.3.5' into production 2014-02-27 11:14:29 -08:00
Raymond Feng 5a3eebbc9f Bump version 2014-02-27 11:13:12 -08:00
Raymond Feng 925402fdb6 Merge pull request #78 from pandaiolo/master
Fix, model builder setter will not try to cast value if already the proper type
2014-02-27 10:38:28 -08:00
Aurelien Chivot dfe1ea1655 Fix, model builder setter will not try to cast value if already the proper type 2014-02-26 21:10:15 +01:00
Raymond Feng 771cb07376 Merge tag 'v1.3.4'
1.3.4
2014-02-25 10:03:14 -08:00
Raymond Feng 5cbc1e1710 Merge branch 'release/1.3.4' into production 2014-02-25 10:03:08 -08:00
Raymond Feng fc48e77181 Bump version 2014-02-24 22:24:20 -08:00
Raymond Feng 975b828ce7 Merge pull request #77 from strongloop/feature/lb-issue-199
Allows unknown properties to be saved for non-strict models
2014-02-24 22:18:53 -08:00
Raymond Feng 44a62d01af Allows unknown properties to be saved for non-strict models
See https://github.com/strongloop/loopback/issues/199
2014-02-24 18:38:45 -08:00
Raymond Feng 4765fbed62 Merge tag 'v1.3.3'
1.3.3
2014-02-21 09:22:46 -08:00
Raymond Feng 9f61bcaccb Merge branch 'release/1.3.3' into production 2014-02-21 09:22:39 -08:00
Raymond Feng da09fd29b8 Bump version and update deps 2014-02-21 09:21:42 -08:00
Ritchie Martori 8ae292539e Merge pull request #74 from strongloop/feature/dao-override
Override existing methods when mixing in DAO methods
2014-02-21 09:04:52 -08:00
Ritchie Martori dd597d2197 Refactor mixin and always redefine proxy/delegate methods 2014-02-20 17:25:07 -08:00
Ritchie Martori 38c7a16da2 Override existing methods when mixing in DAO methods 2014-02-19 17:10:56 -08:00