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

Fix HasOne.update to propagate options arg #1197

Merged
merged 2 commits into from
Dec 21, 2016
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Dec 20, 2016

While working on strongloop/loopback#3023, I discovered that HasOne.prototype.update does not propagate the options argument when calling targetModel.updateAttributes.

This patch fixes the issue.

Connect to strongloop/loopback#1495

@bajtos bajtos force-pushed the fix/options-propagation branch from 794bfbe to 2ca0812 Compare December 20, 2016 16:38
@bajtos
Copy link
Member Author

bajtos commented Dec 21, 2016

@slnode test please

@bajtos
Copy link
Member Author

bajtos commented Dec 21, 2016

Ignoring unrelated build failures.

@bajtos bajtos merged commit a9a4fa4 into master Dec 21, 2016
@bajtos bajtos deleted the fix/options-propagation branch December 21, 2016 09:32
@bajtos bajtos removed the #review label Dec 21, 2016
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