Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@shana
Copy link
Contributor

@shana shana commented Jun 23, 2016

This moves everything into the indexed akavache cache so that all methods in ModelService return IObservable<T> and not readonly collections and other silly things, and everything is streamed directly to the database. This also means that each object returned from Octokit (PullRequest, Repository, User, etc) will be stored in one entry in the database, and all queries will share the objects (so if we do a query to get a single repository or pull request or any single object, it will return the object that was cached when we listed all of them)

@shana shana added the WIP label Jun 23, 2016
@shana shana force-pushed the shana/make-modelservice-return-observables branch 4 times, most recently from 244c728 to d24080f Compare June 24, 2016 17:04
@shana shana removed the WIP label Jul 1, 2016
@shana shana force-pushed the shana/make-modelservice-return-observables branch from 03e3bc7 to 6d30774 Compare July 1, 2016 09:36
shana added 12 commits July 1, 2016 12:39
Move gitignores and licenses lists to the indexed cache and have
ModelService return observables of the cached data. The view model is
responsible for whatever sorting/filtering/adding is required to make
the list consumable by the view.
Fix all the related tests.
Implement the repository listing with an indexed cache and add support for putting it into ITrackingCollection, so we can stream results instead of having object blobs.
@shana shana force-pushed the shana/make-modelservice-return-observables branch from 6d30774 to 9a03e88 Compare July 1, 2016 11:02
@shana shana merged commit e469169 into master Jul 1, 2016
@shana shana deleted the shana/make-modelservice-return-observables branch July 1, 2016 11:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants