-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Be able to customize Meteor.users schema #44
Comments
Good idea. I think both I think it's reasonable to autovalidate |
+1 |
Would love to know is someone working on this feature/is it already implemented ? I've noticed that Meteor.users.simpleSchema() exists but is empty by default. Is there a way to dynamically assign a schema to a collection after the collection has been created ? Eg something like Meteor.users.schema = new SimpleSchema({ That would be really great if I could set up a schema on Meteor.users so that there would be automatic validations based on my schema whenever I try to insert a new user or to update a user. |
Nobody working on it. I plan to when I get time. Best I can say at the moment is probably sometime this month. Will probably be something like |
This is super useful - great work and thanks so much ! |
Added documentation for this in the README. |
Great! |
Meteor.users
is the default meteor collection storing users documents. It would be cool to be able to define extra fields with extra rules such asindex
orautoValue
on this special collection.Since this collection already have a kind of default schema, maybe we could use an
extendSchema
method to define new fields?The text was updated successfully, but these errors were encountered: