Raymond Feng
|
caff62d8b3
|
Merge branch 'fabien-feature/plugins'
|
2014-08-08 09:29:17 -07:00 |
Raymond Feng
|
3d5ec63c99
|
Pass options into scope
|
2014-08-08 09:25:49 -07:00 |
Raymond Feng
|
7fe7bf9b9a
|
Add scope definitions to the model class
See https://github.com/strongloop/loopback/issues/454
|
2014-08-08 09:01:24 -07:00 |
Raymond Feng
|
f671c9c726
|
Clean up the mixin processing
|
2014-08-08 01:20:57 -07:00 |
Raymond Feng
|
55ff28206f
|
Merge branch 'feature/plugins' of github.com:fabien/loopback-datasource-juggler into fabien-feature/plugins
|
2014-08-07 22:51:25 -07:00 |
Laurent
|
71398518ff
|
Fix bug when using multiple include keys
|
2014-08-06 20:40:24 +02:00 |
Fabien Franzen
|
35776311fd
|
Unified plugins into mixins
Mixin types: module function, module object, LDL json object.
|
2014-08-06 13:26:47 +02:00 |
Fabien Franzen
|
455ee9ec63
|
Fix typo: loadPlugin(s)
|
2014-08-05 16:28:17 +02:00 |
Fabien Franzen
|
f1f692a8a5
|
Minor touch-ups
|
2014-08-05 16:26:34 +02:00 |
Fabien Franzen
|
1a4e8863ef
|
Basic plugin architecture
Similar to http://mongoosejs.com/docs/plugins.html
Next, loopback-boot should be updated to support loading plugins from
dirs.
|
2014-08-05 16:16:10 +02:00 |
Raymond Feng
|
d07b716ae8
|
Merge pull request #200 from strongloop/feature/emit-events-during-attach
Emit dataAccessConfigured events during attach
|
2014-08-04 15:27:11 -07:00 |
Fabien Franzen
|
93aea7eb66
|
Changed options.path to option.http.path
|
2014-08-04 19:45:47 +02:00 |
Fabien Franzen
|
81a822524d
|
Removed normalization (see strong-remoting)
|
2014-08-04 12:17:06 +02:00 |
Raymond Feng
|
b9d9ab0fb3
|
Emit dataAccessConfigured events during attach
See discussions at https://github.com/strongloop/loopback/issues/410
|
2014-08-01 08:22:33 -07:00 |
Fabien Franzen
|
ef65ffee48
|
Changed normalization api - enabled hasOne remoting
|
2014-08-01 11:24:41 +02:00 |
Fabien Franzen
|
71bf0f8240
|
Customize/Normalize class-level remoting http path
|
2014-08-01 09:38:25 +02:00 |
Raymond Feng
|
6239d8fde5
|
Merge branch 'patch-4' of github.com:lchenay/loopback-datasource-juggler into lchenay-patch-4
|
2014-07-30 21:34:41 -07:00 |
Jaka Hudoklin
|
d896a0982e
|
fix datasources to support new model parameters
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
|
2014-07-31 01:06:52 +02:00 |
Fabien Franzen
|
090c738bb5
|
Correctly handle remoting of scope methods
|
2014-07-30 17:30:21 +02:00 |
Fabien Franzen
|
af0ca5b108
|
Handle remoting of custom scope methods
|
2014-07-30 16:46:05 +02:00 |
Fabien Franzen
|
e38c92af87
|
ReferencesMany fixes after LB integration tests
|
2014-07-30 15:01:55 +02:00 |
Fabien Franzen
|
5cee6a4b79
|
Fixed embedsMany after LB integration
|
2014-07-30 13:22:20 +02:00 |
Raymond Feng
|
7a9b64f1bf
|
Fix the test failure for mongodb
|
2014-07-29 22:19:52 -07:00 |
Fabien Franzen
|
e888b8cff9
|
Allow custom scopeMethods option (obj/fn) for relation scopes
|
2014-07-29 22:59:44 +02:00 |
Fabien Franzen
|
06f2b32c21
|
Renamed EmbedsMany 'reference' option to 'belongsTo'
|
2014-07-29 21:56:59 +02:00 |
Fabien Franzen
|
1782b439f1
|
Implemented referencesMany
|
2014-07-29 21:46:12 +02:00 |
Fabien Franzen
|
60fd39d311
|
Added option: reference to enable embedsMany add/remove
|
2014-07-29 17:43:30 +02:00 |
Fabien Franzen
|
b18384459a
|
Implemented findByIds
|
2014-07-29 15:01:47 +02:00 |
Fabien Franzen
|
13cee9502c
|
Tests for polymorphic embedsMany
|
2014-07-29 13:57:49 +02:00 |
Fabien Franzen
|
da303b72a5
|
Implemented more complex scenaro: embedsMany + relations
The test case will denormalize data into the embedded object,
and re-use the actual related object id as its own id.
|
2014-07-29 12:02:52 +02:00 |
Fabien Franzen
|
6ed7a0a5f2
|
Convenience embedsMany accessors: at(idx), get(id), set(id, data)
|
2014-07-29 10:51:33 +02:00 |
Raymond Feng
|
cb43114ab7
|
Fix test cases
|
2014-07-28 16:15:37 -07:00 |
Raymond Feng
|
1b44a6d779
|
Merge branch 'feature/embed-hasmany' of github.com:fabien/loopback-datasource-juggler into fabien-feature/embed-hasmany
|
2014-07-28 14:51:16 -07:00 |
Raymond Feng
|
75403ef929
|
Merge branch 'feature/polymorphic-rel' of github.com:fabien/loopback-datasource-juggler into fabien-feature/polymorphic-rel
Fix test cases
|
2014-07-28 14:22:45 -07:00 |
Raymond Feng
|
8bc11ca51e
|
Increase the max number of model listeners
See https://github.com/strongloop/loopback/issues/404
|
2014-07-28 13:02:00 -07:00 |
Raymond Feng
|
5221d12305
|
Remove unused data
|
2014-07-28 09:36:04 -07:00 |
Laurent Chenay
|
aaf037fc51
|
Do not overwrite inclusion but scope them. Needed in relation hasManyThrought
|
2014-07-28 15:20:04 +02:00 |
Laurent Chenay
|
04a56e2ea6
|
Fix HEAD on relation hasMany
|
2014-07-28 11:36:32 +02:00 |
Fabien Franzen
|
309105c4ad
|
Updated remaining relations to use polymorphicParams
|
2014-07-28 11:12:20 +02:00 |
Fabien Franzen
|
7ddfbb6409
|
polymorphics can now be declared using object
|
2014-07-28 10:44:26 +02:00 |
Fabien Franzen
|
4e76c2a77f
|
typeTo => discriminator
|
2014-07-28 10:18:42 +02:00 |
Fabien Franzen
|
e1ecb4b95f
|
Require unique ids for embedded items
|
2014-07-27 17:30:10 +02:00 |
Fabien Franzen
|
43e11af942
|
Test build of embedsMany
|
2014-07-27 17:16:25 +02:00 |
Fabien Franzen
|
cd2cc68905
|
Minor fix
|
2014-07-27 16:56:30 +02:00 |
Fabien Franzen
|
1487a592c1
|
Added validation for embedded items (optional)
|
2014-07-27 16:54:01 +02:00 |
Fabien Franzen
|
59a957b538
|
Implemented embedsMany relation
|
2014-07-27 16:30:45 +02:00 |
Raymond Feng
|
1a989041ed
|
Fix a regression where undefined id should not match any record
|
2014-07-27 00:38:50 -07:00 |
Fabien Franzen
|
5a5aa3f14d
|
Minor tweaks; pass-through properties/scope for hasAndBelongsToMany
|
2014-07-26 21:32:24 +02:00 |
Fabien Franzen
|
5e30ec8637
|
Implemented polymorphic hasMany through inverse
Added option invert: true to enable inverse polymorphic hasMany
relations.
Fixed missing fk1 in query of HasManyThrough.prototype.exists.
|
2014-07-26 21:11:25 +02:00 |
Fabien Franzen
|
d1896553fd
|
More hasAndBelongsToMany tests
|
2014-07-26 17:20:25 +02:00 |