New setting in store provider denoting whether to use the internal cache#29
New setting in store provider denoting whether to use the internal cache#29ntotten merged 4 commits intoauth0:masterfrom
Conversation
tocr
commented
May 21, 2015
- new setting added into the store provider
- caching adjusted in the Internal store to reflect the useCache setting
- test cases added
|
Thanks for the PR :). Only comment is that since you've added If we were to do a breaking change, I'd prefer to change the parameters to be Thanks! |
|
Thanks for your comments. I made changes to preserve the API of the library. |
There was a problem hiding this comment.
Actually, just set this.useCache = !!useCache. If undefined or null, it'll be false :).
There was a problem hiding this comment.
Oh, not again cast-to-bool operator :)
Anyway, I don't think it would work. !! defaults null/undefined to false. I need to default it to true.
Or, I could revert the semantics and rename it to 'dontUseCache' Then the !! would work I think
|
A few more comments, but it looks really good. Thanks! |
|
Can you rebase with amster and we'll merge? Thanks! |
|
I made a merge from upstream. I am sorry for the delay. |
|
Hi, Any update for this PR? |
|
Whats the status of this PR? |