Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StoreAdapter: Add test and proposed fix for totalLength promise #98

Closed
wants to merge 1 commit into from
Closed

StoreAdapter: Add test and proposed fix for totalLength promise #98

wants to merge 1 commit into from

Conversation

kfranqueiro
Copy link
Member

I noticed another totalLength-related API issue after removing what should be considered unnecessary when calls from dgrid. It appears that StoreAdapter does not ensure that totalLength is a promise on adapted stores.

I've pushed a commit that adds a test for this, and proposes a fix. I'm not sure whether this is really the right fix - I'm wondering whether it'd make sense to normalize this in QueryResults itself, instead.

I'd also ask that this be ported to the 1.0 branch for a 1.0.2, along with #97 when it's fixed. dgrid 0.4.1 would benefit from these. Thanks.

@kriszyp
Copy link
Member

kriszyp commented Mar 19, 2015

Merged

@kriszyp kriszyp closed this Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants