Skip to content

Cool idea, but how do I customize the models? #1

@pvencill

Description

@pvencill

So, I really like your idea of having these common schemas, but given how they're built, how would I go about customizing them?

The newest version (3.5) of mongoose doesn't let you call mongoose.model more than once for a given schema, and since you call it in store.js my original plan for changing them (pull your schema in via store, make my changes, and re-model it) is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions