Comments (2)
Thanks for the message :D
- regarding releases, I just checked and something very weird happened. I've been releasing frequently, but for some reason https://www.npmjs.com/package/ember-sync was showing 0.1.2 now. Perhaps some old cache on their end? Anyway, I just pushed 0.2.3 and it's now showing the latest.
from ember-sync.
Doc: my understanding is that if you don't create / save or find a post Record through emberAsync, you will not be able to call post.emberAsync on it later on:
=> this may be clearer in the docs?
You're right. Could you open a PR to fix these things and give better instructions in the README?
When finding a record through this.emberSync.findQuery, the result's relationships don't have the method 'emberSync', so not possible to save them to both stores etc. (in my case, I change one relationship in a form but can not properly save it after).
I see what you're saying. I personally never needed it, so I ended up never implementing it. Would you be interested in working in a patch to include that?
It would be nice to be able to not fetch from the server if not needed, for example if we know that the records, if they exist, are more recent locally (the user is the author of these records).
Totally agree. Let's discuss that in #33.
this.emberSync.find('posts') returns an array, not a promise (this could be inconvenient if we want to wait for the result before the next step).
The thing here is that it returns a stream, which means that say you have 10 records offline and 5 online. You start showing the 10 records right away and then the next 5 are shown a second later.
I've been thinking about changing that to a promise, but we'd need to put more thought on it.
from ember-sync.
Related Issues (20)
- emberSync.save() creates the relevant object but does not save into the firebase
- Updating an exisitng model doesn't work HOT 3
- Setup per instructions, no online syncing happening HOT 8
- Project goal considering CouchDB and PouchDB HOT 1
- Cannot read property 'lookup' of undefined HOT 3
- TODO: implement for when '.get(relation)' returns a Promise HOT 1
- No container in JSONSerializer HOT 1
- Find records from offline store, then from online store only if not found HOT 2
- find records from server, relationship array not pushed to offline store HOT 1
- ember-sync/store/_serializeAssociations() prevent exception when relationships empty HOT 1
- Don't override the offlineStore records with empty records created on the online store due to id-only relationships fetched HOT 1
- Can you please let me know why I can't use EmberSync lib in my project? HOT 1
- EmberSync make another request when page is refreshed HOT 1
- offlineStore not saving when find new records from onlineStore HOT 2
- Look into https://github.com/api-hogs/ember-data-offline HOT 2
- small question about offline syncing HOT 1
- Assertion Failed: Passing classes to store methods has been removed. Please pass a dasherized string instead of my-new-app@model:ember-sync-queue-mode HOT 1
- Move to ud-sync organization
- Is this project still alive? Is it maintained? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-sync.