-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi folks,
I've a problem when my models are multi-dimensional. What I mean is, when my user model look like this:
// Single-dimensional scheme
var userSchema1 = mongoose.Schema({
email : String,
password : String,
};
node-penguin works perfectly fine, but when my models look like:
// Multi-dimensional scheme
var userSchema2 = mongoose.Schema({
local : {
email : String,
password : String,
}
};
the admin fields show up empty. The field names show up like "local.email" and "local.password", which is perfectly fine, but the values are empty.
I am not sure on how to fix that but if anyone could give me some guideline, I can definitely give it a shot and even make a pull request if I get successful.
Thanks,