Miroslav Bajtoš
7316048afc
lib/registry: `getModel` throws, add `findModel`
...
Rename `loopback.getModel` to `loopback.findModel`.
Implement `loopback.getModel` as a wrapper around `findModel` that
throws an error when the model as not found.
2014-06-16 16:13:24 +02:00
Miroslav Bajtoš
ea5b9d16fc
Rename DataModel to PersistedModel
2014-06-05 09:56:00 +02:00
Ritchie Martori
52eb72d94f
Remove un-rectify-able changes
2014-05-20 12:14:51 -07:00
Ritchie Martori
2de33d4da5
Rework change conflict detection
2014-05-19 19:54:55 -07:00
Ritchie Martori
eec7bdd5f4
- Use the RemoteObjects class to find remote objects instead of
...
creating a cache
- Use the SharedClass class to build the remote connector
- Change default base model from Model to DataModel
- Fix DataModel errors not logging correct method names
- Use the strong-remoting 1.4 resolver API to resolve dynamic remote
methods (relation api)
- Remove use of fn object for storing remoting meta data
2014-05-19 15:56:26 -07:00
Ritchie Martori
2f21f4ec1e
Rework replication test
2014-05-15 17:30:58 -07:00
Ritchie Martori
1e2ad9fba9
Change#getModel(), Doc cleanup, Conflict event
2014-05-14 09:20:04 -07:00
Ritchie Martori
908221416e
Fix issues when using MongoDB for replication
2014-05-09 17:19:32 -07:00
Ritchie Martori
a3a6828709
Move replication implementation to DataModel
2014-05-06 13:31:23 -07:00
Ritchie Martori
e35309ba27
Fixes for e2e replication / remote connector tests
2014-04-29 17:17:49 -07:00
Ritchie Martori
83e74ab414
Merge
2014-04-16 07:39:13 -07:00
Ritchie Martori
b660f8a59e
Add replication e2e tests
2014-04-16 07:33:17 -07:00
Ritchie Martori
867e3ca996
fixup! Assert model exists
2014-02-05 15:32:38 -08:00
Ritchie Martori
0bf7af104d
fixup! rename Change.track => rectifyModelChanges
2014-02-05 15:27:58 -08:00
Ritchie Martori
ab8d1ae109
Add replication example
2014-01-30 14:20:34 -08:00
Ritchie Martori
cc49d675ce
Add Change model
2014-01-30 14:20:33 -08:00
Ritchie Martori
2582c3fc65
Add replication example
2014-01-28 12:54:41 -08:00
Ritchie Martori
4be3395298
Add Change model
2014-01-26 13:20:19 -08:00