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

Update not replace #57

Merged
7 commits merged into from
May 7, 2014
Merged

Update not replace #57

7 commits merged into from
May 7, 2014

Conversation

gxxcastillo
Copy link
Contributor

Objects in the store now get updated instead of being replaced. Also, collections are distinguished between "current" and "self" collections.

uglymunky added 7 commits May 1, 2014 16:59
Add nested models to a "self" collection
Also fixes a bug in the unit test that didn't catch this.
This also takes into account that collections can be either "current" or "self".

New methods:
store.getCurrentCollection()
bbSiren.parseModel()
bbSiren.parseCollection()
New methods:
Model.update()
Collection.update()
bbSiren.addModelToStore()
bbSiren.addCollectionToStore()
@gxxcastillo gxxcastillo mentioned this pull request May 6, 2014
@gxxcastillo gxxcastillo assigned ghost May 6, 2014
ghost pushed a commit that referenced this pull request May 7, 2014
@ghost ghost merged commit 8261793 into pre-release May 7, 2014
@ghost ghost deleted the update-not-replace branch May 7, 2014 21:46
@darcman darcman unassigned ghost May 20, 2015
This pull request was closed.
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.

None yet

1 participant