-
Notifications
You must be signed in to change notification settings - Fork 367
Don't expose collections directly #32
Comments
@tmeasday do you think this is a good idea? This is in the "building a package" outline. |
I'm not quite sure what this means in practice. You mean that we wouldn't have a exported symbol called |
Well the idea is, you would have methods on Todos like: This way you could switch to another DB more easily? Not sure how realistic it is. |
My sense is it's too much of a departure from how people typically do things at this point in time. |
OK sounds good. It's just something we ran into twice:
|
I think it makes a heap of sense for point 2., but gets to the larger discussion of saying users shouldn't use the users collection... |
Yeah but the point still stands that it's too different from what people do now. |
Yep, put it on the ideas list for guide v2 :) |
The text was updated successfully, but these errors were encountered: