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

Added parseModels and parseModel to fix duplicate instances being created after create an update. #571

Closed
wants to merge 8 commits into
base: dev
from

Conversation

Projects
None yet
1 participant
@justinbmeyer
Contributor

justinbmeyer commented Nov 24, 2013

This fixes this bug while still maintaining backwards compatibility. This introduces parseModel and parseModel methods that are called by update and create, which keeps #301. If they are provided, they will be used over a provided model and models method.

This is documented with newly added @deprecated tags in DocumentJS. @tomgreever should make sure the styles look right before we launch.

This is for 2.1 because it deprecates some of model and models functionality.

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Jan 22, 2014

Contributor

I'm going to merge this into minor.

Contributor

justinbmeyer commented Jan 22, 2014

I'm going to merge this into minor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment