Skip to content

Multi-dimentional Collection field values not showing up #6

@marcelosalloum

Description

@marcelosalloum

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,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions