Hello friends!
I am using Ember Data and I currently use store.find with params to fetch the current page. This works great but I would love to append the new page to the previous result. This however results is always server query is immutable.
I have researched a couple different solutions and I was wondering which would be best. Here are my options…feel free to add some if there is a better way of doing this.
- Convert the query response to an array after it has been loaded
- Drawbacks: I have to keep track of isFulfilled in my own controller…which makes the code less pretty
- Maintain an array in the controller that each find query appends to
- Drawbacks: Two different names for essentially the same set of data
Anyone have any suggestions/tips?