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

Fails on save when using mongoose 4.x with sub-documents #103

Open
andyrichard opened this issue Nov 10, 2016 · 0 comments
Open

Fails on save when using mongoose 4.x with sub-documents #103

andyrichard opened this issue Nov 10, 2016 · 0 comments

Comments

@andyrichard
Copy link

When I run the following code using node it works as expected however when running it with devtool it return a save error:
var newOpts = new locator.db.customOptions({ optsType: 'some_opts', opt1: true, });

var newPerson = new locator.db.person({ name: 'Steve', customOpts: [newOpts] });

newPerson.save(handleSaveResponse) will fail every time when starting my server with devtool but not node

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

No branches or pull requests

1 participant