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

Allow the server to return a partial state from fetch #52

Closed
wyuenho opened this issue Mar 12, 2013 · 0 comments
Closed

Allow the server to return a partial state from fetch #52

wyuenho opened this issue Mar 12, 2013 · 0 comments
Labels

Comments

@wyuenho
Copy link
Member

wyuenho commented Mar 12, 2013

This line in parseState is overwriting the state with undefined if the server doesn't return all the values, which may result in weird states from time to time.

https://github.com/wyuenho/backbone-pageable/blob/1.1.7/lib/backbone-pageable.js#L1031

Since mosts states are recalculated on the client side anyway, this method should allow the server to return a partial state object so users don't have to explicitly override this method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant