Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

feat(cache): Move cache out of core, add a CacheRegister #1165

Closed
wants to merge 3 commits into from

Conversation

jbdeboer
Copy link
Contributor

No description provided.

@jbdeboer jbdeboer added cla: yes and removed cla: no labels Jun 18, 2014
expect(result).toEqual(6);
}));

it('should return a future after being resolved', async(() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it('should return a different future after being resolved

@chirayuk
Copy link
Contributor

LGTM.  (other than the one minor comment.)  Thanks!

jbdeboer added a commit that referenced this pull request Jun 18, 2014
jbdeboer added a commit that referenced this pull request Jun 18, 2014

@Injectable()
class CacheRegister {
Map<String, Map> _caches = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HashMap ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be Map<String, Cache> ?

@vicb
Copy link
Contributor

vicb commented Jun 19, 2014

I have added a few inline comments.

I would also rename registerCache -> register and Maybe CacheRegister to Caches

LGTM

@jbdeboer jbdeboer closed this in 5900370 Jun 19, 2014
jbdeboer added a commit that referenced this pull request Jun 24, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Jul 16, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this pull request Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants