Almas Akchabayev
Almas Akchabayev
But, is there a general way to configure different amnesia instances for different environments?
Thanks @saschagehlich for a quick reply! ### React Native Regarding React Native support we can take [styled components approach](https://github.com/styled-components/styled-components#react-native) and move everything React Native related to 'adonis/native'. I will be...
Any news on real-time updates?
My current workaround is `model.setCache(Object.assign(model.getCache(), data))` However this way all paths version is incremented
Is there a way to update model locally but receive correct version numbers per paths (so only the paths that changed increment their verison)?
@przeor I think the problem is with CORS. because in the browser (webpack-dev-server also runs on a different port) I had to do add the following to the datasource: ```...
@przeor No I have not. But really did not really try anything else.
@michaelbpaulson I have the following structure: ``` express-routes.js ... router.all( '/model.json', authenticate, falcorExpress.dataSourceRoute(req => new ClientRouter(serverModel, req.user ? req.user.sub : null)) ); ... ``` ``` client-router.js ... class ClientRouter extends...
@michaelbpaulson Call actuall works, when called from the webpage, it does not work when I call from tests...
@michaelbpaulson I actually do call ``` return new Promise((resolve, reject) => { server = app.listen(1337, err => { if (err) { reject(err); return; } resolve(); }); }) ``` at the...