Experience-Monks / Experience-Monks/devtool

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

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.7k
Forks
147
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.