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

Default values for stored objects #40

Open
ironfroggy opened this issue Jul 21, 2013 · 1 comment
Open

Default values for stored objects #40

ironfroggy opened this issue Jul 21, 2013 · 1 comment

Comments

@ironfroggy
Copy link
Contributor

Allow default values to assign to fields of new objects. Would be part of the store schema.

@ironfroggy
Copy link
Contributor Author

This is started in the work with extensions. There might be some default extensions that will be enabled for some features, like this, and configured out of the schema.

notes: {
  defaults: {
    updated: Date,
    tags: function(){ return []; }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant